8958 Commits

Author SHA1 Message Date
Ramiro Morales
1431bcc70e [1.2.X] Fixed some Oracle backend test DB creation code bugs.
Made saving of modified settings compatible with multi-db, removed dead and superfluous code.

Backport of [14489] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 21:02:49 +00:00
Gabriel Hurley
7509bdf86b [1.2.X] Fixed #12975 -- Moved the docs for contrib.admindocs out of the template docs and into their own reference section, and significantly improved the documentation of what admindocs can do. Thanks to jabapyth for the report, and whiteinge for the patch.
Backport of [14484] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 09:23:12 +00:00
Gabriel Hurley
969ac914ff [1.2.X] Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" throughout the docs. Replaced with the (RFC 2396-compliant) terms "absolute path reference" or "absolute path" as appropriate for the context. Thanks to sharan666 for the report, and Malcolm, Chris, and dwillis for their work in supplying a solution and patch.
Backport of [14482] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:44:32 +00:00
Gabriel Hurley
2946a657cd [1.2.X] Fixed #8325 -- Reorganization and expansion of the login_required decorator docs to make it clearer how the redirect_field_name parameter works and improve the overall flow of the text. Thanks to Robert Reeves for the report.
Backport of [14480] from trunk (sans 1.3-specific changes).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:00:05 +00:00
Justin Bronn
d8e0052d45 [1.2.X] Fix for running GEOS/GDAL tests on Python 2.6 and below.
Backport of r14474 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 16:32:08 +00:00
Gabriel Hurley
24ce5033c8 [1.2.X] Fixed #14627 -- Made Tutorial 3 more explicit regarding the transformations the URLconf undergoes in the final two sections, and gave an example of concatenating two patterns() in the process. Thanks to filmer for the report.
Backport of [14472] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 10:09:35 +00:00
Gabriel Hurley
1423593e8f [1.2.X] Fixed #14624 -- Updated a few outdated references to CacheMiddleware in the transactions topic guide. Thanks to quinode for the report.
Backport of [14470] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 09:21:00 +00:00
Ramiro Morales
c8c781a9d5 [1.2.X] Fixed #14630 -- Increased maximum size of the Oracle tablespace datafile used for tests from 100MB to 200MB.
This allows the execution of the full Django test suite without running out of allocated space.

Backport of [14468] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 04:32:23 +00:00
Alex Gaynor
80d6495f6e [1.2.X] Fixed #14629 -- corrected a misspelling and poor wording in the docs. Thanks to OldTroll for the patch. Backport of [14466].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 03:26:46 +00:00
Alex Gaynor
25452e3aa5 [1.2.X] Fixed #14619 -- corrected a typo in the email docs. Backport of [14463].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 21:10:22 +00:00
Jannis Leidel
85f4dd6353 [1.2.X] Fixed #11966 -- Made it possible to use a percent sign in a translation message id. Thanks for the patch, Claude Paroz.
Backport from trunk (r14459).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 14:15:16 +00:00
Luke Plant
fca56e8450 [1.2.X] Fixed #14612 - Password reset page leaks valid user ids publicly.
Thanks to PaulM for the report.

Backport of [14456] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 12:39:27 +00:00
Luke Plant
74b566e81c [1.2.X] Fixed a test setup and isolation bug that was causing PasswordResetTest to fail when run individually
Backport of [14455] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 12:39:11 +00:00
Jannis Leidel
b66df2f49e [1.2.X] Fixed typo in i18n docs.
Backport from trunk (r14451).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 12:03:01 +00:00
Alex Gaynor
d633a58108 [1.2.X] Converted templates doctests into unittests. We have always been at war with doctests. Backport of [14448].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 04:47:54 +00:00
Alex Gaynor
6f30440b72 [1.2.X] Fixed #10728 -- corrected subclassing of Fields who use the SubfieldBase metaclass. Thanks to G2P and George Sakkis for their work on the patch. Backport of [14443].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 18:41:23 +00:00
Alex Gaynor
a25718c157 [1.2.X] Fixed #14559 -- corrected some typos and misleading docstrings. Thanks to Gabriel Hurley for the patch. Backport of [14441].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 18:30:31 +00:00
Gabriel Hurley
72e3bc6e6f [1.2.X] Fixed #14584 -- Documented settings.PASSWORD_RESET_TIMEOUT_DAYS. Also fixed some cross-refs in the neighborhood. Thanks to hop for the report and Adam Mckerlie for the draft patch.
Backport of [14437] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 11:53:53 +00:00
Alex Gaynor
5b78abeba7 [1.2.X] Fixed a few more cases of the tests not properly restoring sys.path (follow up on [14430]). Backport of [14431].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 05:31:53 +00:00
Alex Gaynor
a24ccfc79f [1.2.X] Properly handle the fact that lists are mutable when trying to maintain state in a test. Backport of [14429].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 05:28:12 +00:00
Russell Keith-Magee
3cfde8364b [1.2.X] Migrated app_loading doctests.
Backport of r14427 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 05:23:44 +00:00
Russell Keith-Magee
628be3497a [1.2.X] Fixed #14470 -- Migrated modeladmin doctests. Thanks to Preston Timmons for the patch.
Backport of r14425 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 05:15:19 +00:00
Russell Keith-Magee
09ccdde265 [1.2.X] Migrated lookup doctests. Thanks to George Sakkis for the patch.
Backport of r14423 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 04:38:29 +00:00
Russell Keith-Magee
443423c55f [1.2.X] Migrated basic doctests. Thanks to Preston Timmons for the patch.
Backport of r14421 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 02:48:43 +00:00
Russell Keith-Magee
0b0ae709d1 [1.2.X] Migrated m2m_through doctests. Thanks to the anonymous contributor.
Backport of r14419 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 02:01:18 +00:00
Justin Bronn
775165b236 [1.2.X] Fixed some a stale location and whitespace in GeoIP tests.
Backport of r14416 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-01 22:18:50 +00:00
Justin Bronn
2854336cc2 [1.2.X] Fixed regression introduced in r13755 that prevented the running of the GEOS/GDAL test suites without configuring Django settings; moved reference geometry data from Python module to compressed JSON fixture; put in workaround in tests for GDAL bug #3783.
Backport of r14414 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-01 22:12:31 +00:00
Russell Keith-Magee
d1175f815b [1.2.X] Reverted r14196, restoring the 1.2 test suite to a passing state. Refs #14455.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 23:46:14 +00:00
Alex Gaynor
3a25098c25 [1.2.X] Fixed the auth tests so they work when the AUTHENTICATION_BACKENDS setting is a list. Thanks to Patrick Altman for the report. Backport of [14406].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 16:26:04 +00:00
Ramiro Morales
20c6f3f3d1 [1.2.X] Fixed #13503 -- Corrected misleading custom permission example in the docs.
Thanks Daniel Moisset for the report.

Backport of [14403] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 02:35:18 +00:00
Russell Keith-Magee
29ea1bef21 [1.2.X] Fixed #14471 -- Corrected a regression in the use of methods on custom managers on related querysets. Thanks to Lucky for the report.
Backport of r14389 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 13:00:08 +00:00
Russell Keith-Magee
3a679cc1c4 [1.2.X] Fixed #14412 -- Pointed contrib.comments comments-url-redirect URLpattern at the actual view instead of the deprecated view. Thanks, subsume
Backport of r13995 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:16:39 +00:00
Russell Keith-Magee
181f26428a [1.2.X] Fixed #14414 -- Improved contenttypes shortcut() view to check that the ContentType has a model_class(). Thanks, subsume
Backport of r13994 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:16:21 +00:00
Russell Keith-Magee
c120794b9d [1.2.X] Fixed the ugly spacing of 'BEGIN;' and 'COMMIT;' in the output of the sql/sqlall commands. They're no longer smooshed with the rest of the SQL.
Backport of r13993 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:16:04 +00:00
Russell Keith-Magee
4890ff1292 [1.2.X] Negligible formatting improvement to an error in management/sql.py
Backport of r13992 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:15:46 +00:00
Russell Keith-Magee
5d0f4edb8b [1.2.X] Fixed #14409 -- Fixed typo in docs/internals/documentation.txt. Thanks, kurtmckee
Backport of r13991 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:15:27 +00:00
Russell Keith-Magee
4b8a391a3b [1.2.X] Fixed #14395 -- Fixed typo in error message in db/__init__.py. Thanks, agabel
Backport of r13990 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:15:05 +00:00
Luke Plant
36dd744460 [1.2.X] Fixed #14565 - No csrf_token on 404 page.
This solution doesn't have the negative side-effects of [14356].

Backport of [14377] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 11:58:51 +00:00
Luke Plant
fcc283a52d [1.2.X] Reverted changeset [14356]
That fix for #14565 introduced test failures.  A better fix will
follow shortly.

Refs #14565

Backport of [14376] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 11:58:30 +00:00
Gabriel Hurley
12652baca6 [1.2.X] Fixed #14578 -- Corrected a typo in the Models topic docs. Thanks to tobych for the report and patch.
Backport of [14369] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 01:56:41 +00:00
Alex Gaynor
e8c413a3e2 [1.2.X] Fixed #14577 -- fixed a docstring typo. Thanks to dauerbaustelle for the report and patch. Backport of [14364].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 20:08:54 +00:00
Ramiro Morales
f2d6c6f54d [1.2.X] Documented options accepted by the runfcgi management command.
Also, modified our custom management command option docs xref parser
to also process those without a ``--`` prefix. --  Refs #14398.

Backport of [14361] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 16:10:48 +00:00
Ramiro Morales
99fbf0a46d [1.2.X] Fixed #14398 -- Changed runfcgi command to interpret the umask option argument as an octal value.
Thanks petteyg for report and aptiko for help with the fix.

Backport of [14360] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 16:04:33 +00:00
Luke Plant
cbc110a467 [1.2.X] Fixed #14565 - No csrf_token on 404 pages
Thanks to gvangool for report and patch.

Backport of [14356] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26 18:11:22 +00:00
Gabriel Hurley
4527535a93 [1.2.X] Fixed #14047 -- Updated the CommonMiddleware docs to include sending broken link email notifications. Thanks to Leon Matthews for the report and patch.
Backport of [14532] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 21:06:11 +00:00
Gabriel Hurley
da5f6ef9e0 [1.2.X] Fixed #10545 -- Mentioned that template context variables only exist in the scope of th block in which they're assigned. Thanks to yaniv.haber for the report and timo for the patch.
Backport of [14350] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 20:52:04 +00:00
Alex Gaynor
1826039e00 [1.2.X] Converted model_inheritance doctests to unittests. We have always been at war with doctests. Backport of [14348].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 18:21:39 +00:00
Ramiro Morales
188a8e39fd [1.2.X] Removed obsolete 'date' filter -> 'now' tag link.
Backport of [14346] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 12:57:36 +00:00
Alex Gaynor
552acc652d [1.2.X] Fixed #14551 -- corrected a type in the remote user auth documentation. Thanks to mag for the report and fix. Backport of [14344].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 17:29:49 +00:00
Justin Bronn
2d4ddc0416 [1.2.X] Fixed #13617 -- OSMGeoAdmin now works again when USE_L10N (or LANGUAGE_CODE) is set. Thanks, Federico Hlawaczek, for workaround and piquadrat for patch.
Backport of r14341 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 09:41:08 +00:00