Commit Graph

8891 Commits

Author SHA1 Message Date
Luke Plant a7a91c2d40 [1.2.X] Fixed #14498 - Forms passed to FormWizard.process_step are not guaranteed to have cleaned_data
Thanks to stas for the report.

Backport of [14290] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 21:45:51 +00:00
Ramiro Morales 6a369d2ff3 [1.2.X] Fixed errors introduced in r14280 when running Django tests under Python < 2.6.
Backport of [14287] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 19:42:36 +00:00
Russell Keith-Magee ed195a6fd3 [1.2.X] Migrated many-to-many doctests. Thanks to George Sakkis for the patch.
Backport of r14285 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 12:28:48 +00:00
Russell Keith-Magee 0476014a76 [1.2.X] Migrated many-to-one doctests. Thanks to George Sakkis for the patch.
Backport of r14281 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 05:11:56 +00:00
Ramiro Morales 9bcdb620cb [1.2.X] Converted queries tests from doctests to unittests.
Thanks Russell and Alex for reviews and suggestions.

Backport of [14279] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 04:17:29 +00:00
Gabriel Hurley da17c2b84f [1.2.X] Fixed #7616 -- Added advice on unix socket permissions and umasks to fastcgi deployment documentation. Thanks to Malcolm Tredinnick for the report and advice, and PaulM and cramm for reviewing the patch.
Backport of [14276] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:58:34 +00:00
Gabriel Hurley 4ec58f702b [1.2.X] Fixed #14464 -- Strengthened the admonition regarding documentation versions at the end of the install docs. Thanks to PaulM for the report.
Backport of [14274] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:28:00 +00:00
Gabriel Hurley 9dfdcf86be [1.2.X] Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps.
Thanks to idahogray for assisting with the patch (and sorry for forgetting the attribution in the patch on trunk).

Backport of [14270] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:11:51 +00:00
Honza Král efcb7776a0 [1.2.X] Fixed #13790 -- auto detection of m2m fields to Site. Thanks, gabrielhurley!
Backport from trunk (r14251).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 05:02:28 +00:00
Jannis Leidel 55d8c47d29 [1.2.X] Fixed a few other backporting-related bugs introduced in r14213.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-17 16:09:07 +00:00
Jannis Leidel 630b1fc09b [1.2.X] Removed stray code introduced in r14126 that broke the test suite.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-17 15:41:00 +00:00
Jannis Leidel 0e4737ec24 [1.2.X] Fixed #13963 -- Use the correct verbose name of a reverse relation field in the admin. Thanks, sfllaw and d0ugal.
Backport from trunk (r14244).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-17 15:40:41 +00:00
Alex Gaynor 2a33115040 Corrected a suite of test failures when running under postgres. Backport of [14241].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-17 01:50:58 +00:00
Jannis Leidel 11713a8771 [1.2.X] Fixed #14126 -- Fixed an issue with changes to the blocktrans tag introduced in r13973 related to multiple plural forms. Thanks, mark0978, svetlyak40wt and Ramiro.
Backport from trunk (r14239).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-16 20:51:06 +00:00
Alex Gaynor 386b681105 [1.2.X] Converted or_lookups tests from doctests to unittests. We have always been at war with doctests. Thanks to Paul Tax for the patch. Backport of [14236].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-16 17:00:35 +00:00
Gabriel Hurley ac16c59d35 [1.2.X] Fixed #14307 -- Added a new crossref target to model field reference docs and fixed broken relative link in form field reference docs. Thanks to adamv for the report.
Backport of [14234] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 20:14:22 +00:00
Gabriel Hurley 560f58aba3 [1.2.X] Fixed #14307 -- Linked ChoiceField.choices docs to Field.choices docs to explain the formatting options available. Thanks to adamv for the report and Russ for the suggested fix.
Backport of [14231] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 10:22:50 +00:00
Gabriel Hurley d0a056bcff [1.2.X] Fixed #14376 -- added docs for previously undocumented Brazilian localflavor fields. Thanks to henriquebastos for the report and patch.
Backport of [14229] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 09:31:59 +00:00
Alex Gaynor 7ddeb86cb6 [1.2.X] Fixed #14473 -- converted the model_package tests from doctests to unitests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. Backport of [14227].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 07:34:41 +00:00
Alex Gaynor 3c469e95fb [1.2.X] Fixed #14472 -- converted generic_relations tests from doctests to unitests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. Backport of [14225].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 06:52:53 +00:00
Alex Gaynor f18e27145c [1.2.x] Fixed #14454 -- converted admin_widgets tests from doctests to unittests. We have always been at war with doctests. Thanks to prestontimmons for the patch. Backport of [14221].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 02:41:21 +00:00
Jannis Leidel 7be27dc083 [1.2.X] Fixed #14301 -- Handle email validation gracefully with email addresses containing non-ASCII characters. Thanks, Andi Albrecht.
Backport from trunk (r14216).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14 18:38:43 +00:00
Gabriel Hurley ece06a8006 [1.2.X] Fixed #5327 -- Added standardized field information to ModelChoiceField and ModelMultipleChoiceField documentation. Thanks to danielrubio for the report and PhiR for the text.
Backport of [14214] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14 10:04:03 +00:00
Alex Gaynor e50066d0b5 [1.2.X] Fixed #14456 -- converted inline_formsets tests from doctests to unittests. We have always been at war with doctests. Thanks to prestontimmons for the patch. Backport of [14212].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14 01:40:39 +00:00
Alex Gaynor 14419f916b [1.2.X] Fixed #14459 -- converted many_to_one_regress tests from doctests to unittests. We have always been at war with doctests. Patch from Gabriel Hurley. Backport of [14210].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14 01:24:55 +00:00
Alex Gaynor 25db006b7b [1.2.X] Fixed #14460 -- converted managers_regress tests from doctests to unittests. We have always been at war with doctests. Patch from Gabriel Hurley. Backport of [14207].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14 01:17:32 +00:00
Alex Gaynor 1df25941b3 [1.2.X] Fixed #14458 -- converted m2m_regress tests from doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. Backport of [14205].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14 01:11:22 +00:00
Chris Beaven 55b68363f2 [1.2.X] Fix a typo in my bio. Backport of [14200]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13 07:02:43 +00:00
Justin Bronn a6d7836fd1 [1.2.X] Fixed #13830 -- Updated province name in Indonesian localflavor. Thanks, rodin.
Backport of r14195 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13 01:25:04 +00:00
Honza Král 18a605d6ad [1.2.X] Changed unique validation in model formsets to ignore None values, not just omit them. Thanks claudep!
Backport of r14193 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13 00:33:10 +00:00
Justin Bronn 4ed10675f9 [1.2.X] Enabled area calculations for geography columns.
Backport of r14189 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 17:27:07 +00:00
Russell Keith-Magee 3c8bc8c64b [1.2.X] Modified the test_client tests to use the non-deprecated mail API.
Backport of r14187 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 14:09:02 +00:00
Russell Keith-Magee 23ecf3cf6c [1.2.X] Modified the sitemaps tests to remove an assumption about the environment in which the tests are run. Thanks to Gabriel Hurley for the report and patch.
Backport of r14184 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 07:27:49 +00:00
Alex Gaynor 9b077ee4b6 [1.2.X] Converted model_inheritance_select_related tests from doctests to unittests. We have always been at war with doctests. Backport of [14181].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 02:09:35 +00:00
Alex Gaynor 9ab383b394 [1.2.X] Converted initial_sql_regress tests from doctests (sort of...) to unittests. We have always been at war with doctests. Backport of [14179].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:59:46 +00:00
Alex Gaynor de8ff6b672 [1.2.X] Converted get_or_create_regress tests from doctests to unittests. We have always been at war with doctests. Backport of [14177].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:54:48 +00:00
Russell Keith-Magee 5f8332af04 [1.2.X] Tweak to many_to_one_null doctest to avoid primary key assumptions (causing breakage on PostgreSQL).
Backport of r14168 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:02:57 +00:00
Russell Keith-Magee 6f7f1f651b [1.2.X] Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests)
Backport of r14167 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:02:37 +00:00
Russell Keith-Magee 6b1a45289b [1.2.X] Migrated many_to_one_null doctests. Thanks to George Sakkis for the patch.
Backport of r14166 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:02:13 +00:00
Russell Keith-Magee 5ecb496d6c [1.2.X] Migrated properties doctests. Thanks to George Sakkis for the patch.
Backport of r14165 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:01:49 +00:00
Russell Keith-Magee d83af03c59 [1.2.X] Migrated the mutually_referential doctests. Thanks to George Sakkis for the patch.
Backport of r14164 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:01:25 +00:00
Russell Keith-Magee b12428de91 [1.2.X] Migrated m2o_recursive and m2o_recursive2 tests, merging them into a single package. Thanks to George Sakkis for the patches.
Backport of r14163 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 01:00:58 +00:00
Jannis Leidel d327611b24 [1.2.X] Fixed #13494 -- Correctly concat an email subject prefix with a translation string. Thanks, hcarvalhoalves and Andi Albrecht.
Backport from trunk (r14157).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 22:36:17 +00:00
Jannis Leidel cf6b26d7a2 [1.2.X] Fixed links to the date formats choices in the global settings. Thanks, Russell.
Backport from trunk (r14032).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 22:35:24 +00:00
Justin Bronn cc1a41f3de [1.2.X] Updated version of PostGIS in GeoDjango install docs.
Backport of r14150 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 22:24:59 +00:00
Gabriel Hurley d2724d883e [1.2.X] Added information about the "easy-pickings" keyword to the contributing docs. Thanks to Russ for the report and cmheisel for the patch.
Backport of [14154] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 21:58:46 +00:00
Alex Gaynor 01d1dd6935 [1.2.X] Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. Backport of [14152].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 20:38:29 +00:00
Alex Gaynor efc7524236 [1.2.X] Converted ordering tests from doctests to unittests. We have always been at war with doctests. Backport of [14147].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 18:18:12 +00:00
Alex Gaynor 6d34d308aa [1.2.X] Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests. Backport of [14145].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 17:41:59 +00:00
Jacob Kaplan-Moss 69d40b4a6f [1.2.X] Fixed #14440 - Converted mail doctests to unittests.
Thanks to Rob Hudson for the patch and also to andialbrecht who filed a
similar patch that I didn't use.

Backport of r14143 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 15:18:34 +00:00