Commit Graph

8566 Commits

Author SHA1 Message Date
Russell Keith-Magee e10e3007d1 [1.2.X] Fixed #13153 -- Removed a stale reference to the examples directory in setup.cfg. Thanks to cesar@mifprojects.com for the report.
Backport of r13487 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 13:01:10 +00:00
Russell Keith-Magee 908b91b69e [1.2.X] Fixed #13621 -- Corrected the handling of input formats on date/time form fields. Thanks to bufke for the report, zerok and jacmkno for their work on the patch, and Karen, Jannis and Alex for feedback.
Backport of r13484 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 12:53:27 +00:00
Russell Keith-Magee aa59bc7404 [1.2.X] Fixed #13732 -- Fixed minor typo in docstring. Thanks to schinckel for the report.
Backport of r13483 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 12:52:59 +00:00
Karen Tracey 91d64a5a09 [1.2.X] Fixed #14062: Corrected a stray reference to 2.6 as the high level for supported Pythons. Thanks aesmail.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 11:29:18 +00:00
Russell Keith-Magee d302a60c8d [1.2.X] Fixed #13613 -- Ensure that forms.URLField and forms.EmailField are used on a modelform. This ensures that fields are URL and Email fields are cleaned consistently when included on model forms. Thanks to amadison for the report.
Backport of r13475 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 04:00:56 +00:00
Russell Keith-Magee 6c2e31e9b7 [1.2.X] Fixed #13946 -- Modified the database cache backend to use the database router to determine availability of the cache table. Thanks to tiemonster for the report.
Backport of r13473 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 02:14:31 +00:00
Russell Keith-Magee 9383a37485 [1.2.X] Corrected fix committed in r13466. Refs #14025.
Backport of r13471 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 01:30:54 +00:00
Jacob Kaplan-Moss 1c237cb77c [1.2.X] ixed #13746: made the dumdata help message a bit clearer. Thanks, PaulM.
Backport of [13469] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-04 19:08:58 +00:00
Russell Keith-Magee 389c72c358 [1.2.X] Fixed #14025 -- Modified flush to adhere to router sync instructions when emmiting post-sync signals. Thanks to linovia for the patch.
Backport of r13466 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-04 14:36:44 +00:00
Jacob Kaplan-Moss 972a9c7e18 [1.2.X] Fixed #11377: the template join filter now correctly escapes the joiner, too.
Thanks, Stephen Kelly.

Backport of [13464] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-03 15:43:29 +00:00
Jacob Kaplan-Moss 4441f7b0f3 [1.2.X] Fixed #11376: added some extra tests for autoescaping subtleties.
Thanks, Stephen Kelly.

Backport of [13461] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-03 15:37:07 +00:00
Jacob Kaplan-Moss c0040b4151 [1.2.X] Fixed #11288: added some tests for the handling of number-like variables in templates.
Thanks, Stephen Kelly.

Backport of [13460] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-03 15:37:00 +00:00
Russell Keith-Magee 38813c4bbd [1.2.X] Fixed #13740 -- Added documentation for the can_delete InlineModelAdmin option. Thanks to Alex Gaynor for the patch.
Backport of r13458 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30 04:16:20 +00:00
Russell Keith-Magee dc449e9664 [1.2.X] Fixed #13882 -- Removed an unnecessary nested where clause introduced on __isnull queries. Thanks to Alex Gaynor for the report and patch.
Backport of r13456 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30 04:07:27 +00:00
Russell Keith-Magee c61811a8f2 [1.2.X] Fixed #13730 -- Removed the hard-coding of the requirement that ForeignKeys have an index. Thanks to Suor for the report.
Backport of r13452 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30 02:59:14 +00:00
Russell Keith-Magee 3227cc5951 [1.2.X] Fixed #13773 -- Passed in the current connection in a call to db_type(). Thanks to Suor for the report and patch.
Backport of r13451 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30 02:58:51 +00:00
Jannis Leidel 953f4be201 [1.2.X] Fixed #14005 - Removed a few unneeded workarounds in the Sphinx extension. Thanks for the report and patch, Ramiro Morales.
Backport of r13447 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-25 20:58:58 +00:00
Jannis Leidel acbf74a721 [1.2.X] Fixed #13616 - Updated the documentation to be compatible with Sphinx 1.0.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-24 10:19:39 +00:00
Justin Bronn 8c87622f8b [1.2.X] Fixed #13967 -- MySQL spatial backend now respects when `spatial_index=False`. Thanks, Simon Law, for bug report and patch.
Backport of r13443 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-21 15:28:06 +00:00
Justin Bronn 5dc560636b [1.2.X] Fixed #13934 -- `GeoSQLCompiler.get_default_columns` was missing `local_only` keyword argument. Thanks, Simon Law, for bug report and initial patch.
Backport of r13439 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-20 19:14:23 +00:00
Karen Tracey 48dd139e54 [1.2.X] Fixed import example code for NON_FIELD_ERRORS.
r13434 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-17 09:33:27 +00:00
Karen Tracey ab693cea80 [1.2.X] Set svnmerge-integrated for 1.2.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-17 09:31:09 +00:00
Luke Plant 1fed500337 [1.2.X] Doc updates missed in [13424]
Refs #13880

Backport of [13425] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 17:22:29 +00:00
Luke Plant a84a390c7a [1.2.X] Fixed #13880 - added 2.7 to list of supported versions of Python
Thanks Alex

Backport of [13423] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 17:10:58 +00:00
Luke Plant b9f085a9de [1.2.X] Added missing module directive for validators documentation.
Backport of [13421] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 16:54:37 +00:00
Luke Plant 558732c37b [1.2.X] Small corrections/improvements to DB optimization docs.
Bakport of [13419] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 16:43:51 +00:00
Luke Plant 867d690752 [1.2.X] Fixed error in AnonymousUser docs since [12316]
Backport of [13401] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-24 11:21:10 +00:00
Justin Bronn 90380b8fcf [1.2.X] Fixed #13671, #13748 -- Fixed errata and minor updates to GeoDjango docs.
Backport of r13398 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 17:38:47 +00:00
Justin Bronn 1b5f812aad [1.2.X] Fixed #13779 -- Can now discover GDAL 1.7 from debian-based packages. Thanks to Leo for bug report and patch.
Backport of r13396 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 17:19:56 +00:00
Luke Plant 71cecc4952 [1.2.X] Fixed #12803 - Added styling for 'error' and 'warning' messages in admin.
Thanks to bboli and sebastian_noack for the report, DrMeers for the patch.

Backport of [13393] from trunk.  Considered a bug (and therefore backported)
due to error and warning messages being styled with green tick previously.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 13:20:38 +00:00
Russell Keith-Magee 8f5236fa35 [1.2.X] Fixed #13747 -- Reverted documentation suggesting the use of self.stdout/err in management commands in 1.2. Thanks to metamemetics for the report.
Strictly, self.stdout/err is a feature addition; however, it's a
feature that is required in order to achieve a massive speedup in the
tests and to maintain parity between 1.2.X and trunk tests. However,
the feature is completely transparent -- the old technique will work
fine, it just isn't as testable. Therefore, we'll treat this as an
undocumented feature in the 1.2 branch.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 12:01:37 +00:00
Jacob Kaplan-Moss b1b172114a Created 1.2.X release branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19 21:12:12 +00:00
Jacob Kaplan-Moss 90ce8b0c99 Fixed #10843: the textile tests now pass against the latest textile library.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19 21:07:33 +00:00
Karen Tracey 308ca6d8d5 Fixed #13785: Corrected some misplaced and missing parentheses. Thanks LucianU.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-17 23:50:51 +00:00
Karen Tracey fc33b8e953 Fixed #13778: Removed a stray colon in a code example. Thanks canassa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-17 18:29:27 +00:00
Russell Keith-Magee ab908685fb Fixed #13739 -- Updated release notes to make a note of the changes to Field.db_type.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-11 01:37:10 +00:00
Russell Keith-Magee 2597f31ed4 Refs #8901 -- Reverted r13328 because the patch imposes a minimum version requirement of Postgres 8.0; we can't impose that on Django 1.2, so we need to wait until the 1.3 is branched before we can apply this change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-10 11:45:29 +00:00
Luke Plant ac8b7ff021 Fixed #13716 - the CSRF get_token function stopped working for views with csrf_view_exempt
This was a regression caused by the the CSRF changes in 1.2.

Thanks to edevil for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-08 14:35:48 +00:00
Russell Keith-Magee 21a690fcfe Fixed #8901 -- Corrected the PostgreSQL sequence reset code when field identifiers exceed the maximum identifier length. Thanks to adam@zuerchertech.com for the report, and Matt Hoskins for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 15:47:19 +00:00
Jarek Zgoda 9ebf411f26 Fixed #13577 - wrong thousands separator in Polish formats file. Thanks sero for report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 14:47:10 +00:00
Karen Tracey 454622c6f9 Fixed #13676: Corrected some links into the Python docs. Thanks carljm and Tryphon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 03:08:33 +00:00
Karen Tracey 42a751206f Fixed #13657: Moved global declaration before assignments to avoid a syntax warning. Thanks Alex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 03:01:06 +00:00
Russell Keith-Magee 1a6da249c3 Fixed #13700 -- Converted m2m_through_regress tests to unittests, removing another flush call. Thanks to Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 02:11:58 +00:00
Russell Keith-Magee be63b3ca54 Fixed #13698 -- Removed trailing whitespace from regressiontests/utils/timesince. Officially, I'm doing this because trailing whitespace is bad, but apparently it also causes test failures for some people (for reasons we can't narrow down), so there's a double win.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-05 13:07:21 +00:00
Russell Keith-Magee 4290b0d26a Corrected pre-Python 2.6 syntax incompatibility from r13319. Thanks to Karen Tracey for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-05 12:53:51 +00:00
Russell Keith-Magee 289f41921e Fixed #13697 -- Modified multiple_database test to avoid a failure observed under Python 2.6.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-05 06:37:52 +00:00
Russell Keith-Magee 45e5fb1ee2 Migrated multiple_database tests to use new stdout argument on management commands, rather than monkeypatching stdout.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-05 05:32:05 +00:00
Russell Keith-Magee 5da6aeba17 Fixed #13636 -- Migrated fixtures tests to use unittests, eliminating another set of expensive flush calls. Thanks to Eric Holscher for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-05 05:26:04 +00:00
Luke Plant 3e1e04d6d0 Fixed #10758 - sys.exc_info() should not be stored on a local variable
Thanks piotr.findeisen for report, kevinh for patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@13318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-03 18:50:04 +00:00
Karen Tracey 887da3154a Fixed #13685: Correct the default value for EMAIL_BACKEND listed in the settings ref.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-02 17:57:10 +00:00