Carl Meyer
9ec9d2efd1
[1.2.X] Improved CACHE_MIDDLEWARE_ANONYMOUS_ONLY test.
...
Backport of r15557 from trunk. (Backported in order to simplify backport of upcoming test addition).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-17 04:15:14 +00:00
Gabriel Hurley
dbe7010d47
[1.2.X] Fixed #15308 -- Sphinx/reST fixes for the Custom Model Fields docs.
...
Backport of [15447] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:26:17 +00:00
Gabriel Hurley
95a6d5a2ef
[1.2.X] Fixed #14820 -- Added more information to the generic relation docs regarding different choices for storing PK references for a GenericForeignKey. Thanks to mrmachine for the all the work on the patch.
...
Backport of [15545] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:21:27 +00:00
Gabriel Hurley
ddc9cefc21
[1.2.X] Fixed #15285 -- Corrected an erroneous import statement in the testing docs. Thanks to kamal.mustafa for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-15 21:51:27 +00:00
Jannis Leidel
551da285db
[1.2.X] Moved the test added in r15511 to a different test where it doesn't actually verify the existence of the URL by calling urlopen but only validates it.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-15 20:42:57 +00:00
Timo Graham
fe21117cc3
[1.2.X] Fixed "the the" typos.
...
Backport of r15536 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 23:25:46 +00:00
Ramiro Morales
7520dbd5a5
[1.2.X] Fixed a couple of documentation typos.
...
Backport of [15534] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 15:04:26 +00:00
Ramiro Morales
7cfb2b6335
[1.2.X] Tweaked some asserts not present in older unittest or deprecated from tests added in r15499. Refs #13987
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13 03:15:34 +00:00
Ramiro Morales
af03867f00
[1.2.X] Fixed #13007 -- Made cookie parsing resilent to the presence of cookies with invalid characters in their names. Thanks Warlax for the report, Ubercore for his work on a fix and Jannis and Luke for review and guidance.
...
Backport of [15523] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13 02:37:52 +00:00
Justin Bronn
4bcc5012b1
[1.2.X] Updated GeoDjango installation docs and spatial database template script for latest Ubuntu/Debian packages.
...
Backport of r15520 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13 01:54:31 +00:00
Luke Plant
cfaac48710
[1.2.X] Fixed #15284 - improved example jQuery code for adding X-CSRF-Token
...
Using the ajaxSend event is better than beforeSend, because the beforeSend
callback can have only one value, which makes it painful if it is needed by
multiple bits of javascript.
Thanks to LukeMaurer for report and initial patch.
Backport of [15515] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 23:39:39 +00:00
Jannis Leidel
6a438e2d1a
[1.2.X] Fixed #15237 -- Always set charset of Atom1 feeds to UTF-8. Thanks, Simon and jasonkotenko.
...
Backport from trunk (r15505).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 19:24:42 +00:00
Jannis Leidel
748110cb94
[1.2.X] Fixed #14941 -- Stop raising ValidationError in form fields that use the URLValidator and get a IDN domain passed. Thanks, Claude Paroz.
...
Backport from trunk (r15504).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 19:24:34 +00:00
Jannis Leidel
89c03dcbf3
[1.2.X] Fixed #14132 -- Fixed feedgenerator to support years < 1900. Thanks, mk.
...
Backport from trunk (r15503).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 19:24:25 +00:00
Jannis Leidel
90ee3af279
[1.2.X] Fixed #12988 -- Extended regular expression of the URLValidator to fully support IDN-URLs, especially the long TLDs.
...
Backport from trunk (r15502).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 19:24:17 +00:00
Russell Keith-Magee
48fe6099c0
[1.2.X] Fixed #13987 -- Ensure that the primary key is set correctly for all models that have concrete-abstract-concrete inheritance, not just the first model. Thanks to Aramgutang for the report and patch.
...
Backport of r15498 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 15:15:44 +00:00
Russell Keith-Magee
c775f95abb
[1.2.X] Fixed #13948 -- Corrected the direction of arrows on the admin changelist. Thanks to jsdalton for the report, and Julien Phalip for the patch.
...
Backport of r15495 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 13:25:16 +00:00
Russell Keith-Magee
f8ff9fee2b
[1.2.X] Fixed #15283 -- Made a minor performance tweak to __iter__. Thanks to lanyjie for the report.
...
Backport of r15491 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 13:24:42 +00:00
Alex Gaynor
54987dd0d1
[1.2.X] Fixed #15243 -- More clearly document that the transaction functions needs to be called with a using parameter to work with a non-default database. Thanks to Jason Kotenko for the patch. Backport of [15489].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-11 18:24:24 +00:00
Russell Keith-Magee
b17f47cac7
[1.2.X] Fixed #15253 -- Added 1.1.3 release notes, and added sections to the 1.2.4 and 1.3 release notes about the December security announcement.
...
Backport of r15485 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-10 11:56:36 +00:00
Russell Keith-Magee
5c4acfec0e
[1.2.X] Fixed #15253 , #15259 -- Added 1.1.4 release notes, added a section on CSRF changes to the 1.3 release notes, and corrected the example in the 1.2.5 release notes. Thanks to Gary Wilson and Mark Hellewell for the reports.
...
Backport of r15482 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-10 09:29:38 +00:00
Russell Keith-Magee
e62e740732
[1.2.X] Fixed #15245 -- Added note about the CSRF AJAX exception to the 1.2.5 release notes. Thanks to Matt Austin for the report.
...
Backport of r15478 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 13:00:25 +00:00
James Bennett
66dc41aa05
[1.2.X] Bump version number for impendign security release.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 03:05:58 +00:00
Carl Meyer
1f814a9547
[1.2.X] Fixed security issue in AdminFileWidget. Disclosure and release forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 02:44:16 +00:00
Alex Gaynor
194566480b
[1.2.X] Fixed a security issue in the file session backend. Disclosure and new release forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 02:13:59 +00:00
Alex Gaynor
818e70344e
[1.2.X] Fixed a security issue in the CSRF componenent. Disclosure and new release forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 02:07:05 +00:00
Russell Keith-Magee
fdd3bd9d15
[1.2.X] Ensure that L10N formats aren't cached between tests.
...
Backport of r15461 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 00:11:57 +00:00
Russell Keith-Magee
c058dfa9cd
Corrected merge failure from r15455.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 00:11:09 +00:00
Russell Keith-Magee
5e485a15ad
[1.2.X] Fixed #13815 -- Ensure that reverse exclude lookups on nullable foreign keys exclude null values. Thanks to bpeschier for the report and patch.
...
Backport of r15458 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08 14:07:14 +00:00
Russell Keith-Magee
bbfdb36b54
[1.2.X] Fixed #15116 -- Strip ordering clause from in_bulk() queries, since ordering information will be lost. Thanks to lamby for the report and patch.
...
Backport of r15457 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08 14:06:59 +00:00
Russell Keith-Magee
27e7fcbab0
[1.2.X] Fixed #10573 -- Corrected autofocus problem in admin when the first widget displayed is a multiwidget. Thanks to rduffield for the report, and to Ramiro and Julien Phalip for the patch.
...
Backport of r15452 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08 12:23:23 +00:00
Russell Keith-Magee
09a820550b
[1.2.X] Fixed #15234 -- Ensure that years in a date heirarchy don't use commas for thousand separators, regardless of the value of USE_THOUSAND_SEPARATOR. Thanks to Julien Phalip for the report and patch.
...
Backport of r15451 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08 12:23:03 +00:00
Russell Keith-Magee
e1ad54307f
[1.2.X] Fixed #15175 -- Ensured that Chliean RUT checksum letters aren't case sensitive. Thanks to rvimer for the report, and to ersame for the patch.
...
H: Enter commit message. Lines beginning with 'HG:' are removed.
Backport of r15450 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08 12:22:44 +00:00
Gabriel Hurley
40a13657e3
[1.2.X] Fixed #15055 -- added information about (and an example of) the csrf_token template tag to the forms documentation. Thanks to sneakyness for the report and bpeschier for the draft patch.
...
Backport of [15445] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 22:54:14 +00:00
Ramiro Morales
1406265e17
[1.2.X] Tweaked language markers in i18n topic document for better Sphinx syntax highlighting.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 19:50:07 +00:00
Russell Keith-Magee
5f0ed3e198
[1.2.X] Fixed #13674 -- Ensure that labels on added inlines fields have the right 'for' attribute. Thanks to Jonas for the report, and Julien Phalip for the patch.
...
Backport of r15436 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06 06:22:07 +00:00
Ramiro Morales
cd2a1a0b32
[1.2.X] Modified wrong expected model formset output in a couple of additional tests after fix introduced in [15424]. Refs #15167 .
...
Backport of [15430] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 19:22:09 +00:00
Ramiro Morales
3f3a9ae699
[1.2.X] Fixed small problem in backport of [15418] tests changes to 1.2.X ([15419]). Refs #15111 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 19:05:30 +00:00
Ramiro Morales
7be9e52041
[1.2.X] Fixed #15226 - Made SelectDateWidget render the label tag associated with the correct dropdown sub-widget when USE_L10N is active and non-English locale is in use.
...
Backport of [15427] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 18:38:06 +00:00
Russell Keith-Magee
ebd0a6a09f
[1.2.X] Fixed #15167 -- Ensure that non-form errors are always part of an ErrorList. Thanks to Harm Geerts for the report and patch.
...
Backport of r15424 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 06:34:04 +00:00
Russell Keith-Magee
0e4d8d47b0
[1.2.X] Fixed #14303 -- Ensure that the ids created for new inlines are unique after interstitial deletions have occurred. Thanks to m0nonoke for the report, and Julien Phalip for the patch.
...
Backport of r15422 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 04:46:55 +00:00
Russell Keith-Magee
4a3a97e531
[1.2.X] Fixed #14830 -- Ensure that radio buttons on inlines preserve their default value. Thanks to Julien Phalip for the report and patch, and to antoinemartin for the diagnosis.
...
Backport of r15420 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 04:12:33 +00:00
Russell Keith-Magee
6987048561
[1.2.X] Fixed #15111 -- Ensured that the auth, contenttypes and sitemaps tests will run when the sites app isn't installed. Thanks to Waldemar Kornewald for the report and draft patch.
...
Backport of r15418 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 03:56:23 +00:00
Ramiro Morales
693506609d
[1.2.X] Fixed #13968 -- Fixed SelectDateWidget processing of an invalid date input value when USE_L10N is on, for consistency with its behavior when USE_L10N=False (now the form field reports the validation error in both cases). Thanks mitar for the report.
...
Backport of [15416] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05 00:15:18 +00:00
Russell Keith-Magee
2d0252ef41
[1.2.X] Fixed #14046 -- Made {% include %} behave the same, regardless of whether the template included is named by variable or constant string. Thanks to defcube for the report, and George Karpenkov for the draft patch.
...
Backport of r15413 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-04 17:21:10 +00:00
Ramiro Morales
05232a2604
[1.2.X] Modified a few tests methods to make sure no leaks of activated locale or USE_L10N setting value happen between tests.
...
Backport of [15411] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-04 16:17:45 +00:00
Russell Keith-Magee
6ba0f324e4
[1.2.X] Fixed #15181 -- Ensure that special characters are escaped when querying for the URL of an uploaded file. Thanks to e.generalov for the report and patch.
...
Backport of r15409 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-04 14:43:59 +00:00
Russell Keith-Magee
46b1fdaba0
[1.2.X] Fixed #15016 -- Ensured that the messages tests are isolated from local template directories. Thanks to Gabriel Hurley for the report and patch.
...
Backport of r15407 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-04 14:35:39 +00:00
Russell Keith-Magee
bb46b44ec9
[1.2.X] Fixed #14824 -- Corrected the handling of formats when USE_L10N is disabled. Thanks to nullie for the report and initial patch, and to idle for the separate report with helpful debug info.
...
Backport of r15404 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-04 13:53:44 +00:00
Ramiro Morales
5f2f0113db
[1.2.X] Fixed #15129 -- Fixed stability of data input/output L10N format modules priority order. Thanks tonnzor for the report and fix.
...
Backport of [15402] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-03 15:54:27 +00:00