Commit Graph

8767 Commits

Author SHA1 Message Date
Luke Plant d443d16063 [1.2.X] Fixed paste-o in [13855]
Backport of [13857] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-14 21:42:06 +00:00
Luke Plant efae9a166b [1.2.X] Fixed #2283 (again) - comment form templates don't validate as XHTML
Thanks to hjoreteg/thejaswi_puthraya for the report and patch.

Backport of [13855] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-14 14:24:15 +00:00
Luke Plant 2d7a3e71c1 [1.2.X] Fixed #14254 - More tests for storage backends
Thanks to steph for the patch, also to tobias for cleanups.

Backport of [13852] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 23:17:27 +00:00
Luke Plant 238eea44eb [1.2.X] Fixed #14252 - django.contrib.flatpages unit tests assume default value for settings.LOGIN_URL
Thanks to pmclanahan for report and patch.

Backport of [13851] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 23:17:11 +00:00
Luke Plant 759625cd90 [1.2.X] Fixed #13765 - 'safe' parameter for urlencode filter
Thanks to KyleMac for the suggestion and SmileyChris for the patch

Backport of [13849] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 23:02:29 +00:00
Luke Plant b176bd4f1e [1.2.X] Fixed #13623 - code in intro-tutorial03 missing an import statement
Thanks to lescoutinhovr@gmail.com, AMJ for the report, and to zerok/timo for
the patch.

Backport of [13847] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 22:49:18 +00:00
Luke Plant 93e83546a3 [1.2.X] Fixed #12965 - unordered_list template filter fails when given a non-iterable second item in a two item list
Thanks to grahamu for the report and patch.

Backport of [13845] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 22:34:39 +00:00
Luke Plant 21f60e9fa9 [1.2.X] Fixed #11594 - Inaccurate docstring for WhereNode.add()
Thanks to garrison for report, dwillis for patch

Backport of [13843] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 21:45:56 +00:00
Luke Plant 0c8e8b15b5 [1.2.X] Fixed #12918 - Tutorial page 2 issues
Thanks to Leam for report, cassidy for patch.

Backport of [13841] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 19:43:41 +00:00
Russell Keith-Magee c675410005 [1.2.X] Migrated proxy_models doctests. Thanks to Eric Florenzano.
Backport of r13831 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:48:18 +00:00
Russell Keith-Magee 896ebdcb71 [1.2.X] Migrated reserved_names doctests. Thanks to Eric Florenzano.
Backport of r13830 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:48:06 +00:00
Russell Keith-Magee 11f77de533 [1.2.X] Migrated reverse_lookup doctests. Thanks to Eric Florenzano
Backport of r13829 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:47:52 +00:00
Russell Keith-Magee 21fccbc13e [1.2.X] Migrated select_related doctests. Thanks to Eric Florenzano.
Backport of r13828 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:47:39 +00:00
Russell Keith-Magee 902c111442 [1.2.X] Migrated str doctests. Thanks to Eric Florenzano.
Backport of r13827 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:47:26 +00:00
Russell Keith-Magee 685ddbbe24 [1.2.X] Migrated transactions doctests. Thanks to Eric Florenzano.
Backport of r13826 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:47:13 +00:00
Russell Keith-Magee 06211b05cb [1.2.X] Migrated unmanaged_models doctests. Thanks to Eric Florenzano.
Backport of r13825 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:46:59 +00:00
Russell Keith-Magee f7bdebf2fe [1.2.X] Migrated the update doctests. Thanks to Eric Florenzano.
Backport of r13824 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:46:46 +00:00
Russell Keith-Magee 62585b7570 [1.2.X] Migrated user_commands doctests. Thanks to Eric Florenzano.
Backport of r13823 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:46:34 +00:00
Malcolm Tredinnick fa35d2bd4d [1.2.X] Fixed the get_or_create tests for postgreSQL, by using
TransactionTestCase.

Backport of r13814 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 22:16:36 +00:00
Russell Keith-Magee 0c65a6f7da [1.2.X] Modified the egg template loader tests; firstly to ensure that we are testing the new, non-deprecated interface; secondly to ensure that the old deprecated interface is also tested, but deprecation warnings are silenced.
Backport of r13812 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 21:56:25 +00:00
Russell Keith-Magee 6752258289 [1.2.X] Migrated expressions doctests. Thanks to Alex Gaynor.
Backport of r13790 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:12:33 +00:00
Russell Keith-Magee 411f8dc0d6 [1.2.X] Migrated empty doctests. Thanks to Alex Gaynor.
Backport of r13789 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:12:23 +00:00
Russell Keith-Magee cbcdd408c0 [1.2.X] Migrated m2m_multiple doctests. Thanks to Alex Gaynor.
Backport of r13789 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:12:14 +00:00
Russell Keith-Magee a4a19b81c3 [1.2.X] Migrated m2m_intermediary doctests. Thanks to Alex Gaynor.
Backport of r13787 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:12:02 +00:00
Russell Keith-Magee 42f7bbda1a [1.2.X] Migrate m2m_and_m2o doctests. Thanks to Alex Gaynor.
Backport of r13786 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:11:52 +00:00
Russell Keith-Magee 0023357eb0 [1.2.X] Migrate get_or_create doctests. Thanks to Alex Gaynor.
Backport of r13785 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:11:41 +00:00
Russell Keith-Magee f0835cecf8 [1.2.X] Migrated get_object_or_404 doctests. Thanks to Alex Gaynor.
Backport of r13784 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:11:30 +00:00
Russell Keith-Magee 4395164765 [1.2.X] Migrate get_latest doctests. Thanks to Alex Gaynor.
Backport of r13783 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:11:17 +00:00
Russell Keith-Magee 5b2ec255e6 [1.2.X] Migrated the force_insert_update tests. Thanks to Alex Gaynor.
Backport of r13782 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:11:06 +00:00
Russell Keith-Magee ae26534567 [1.2.X] Migrate the files doctests. Thanks to Alex Gaynor.
Backport of r13781 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:10:54 +00:00
Russell Keith-Magee 106600edb6 [1.2.X] Migrated the field_subclsasing doctests. Thanks to Alex Gaynor.
Backport of r13780 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:10:43 +00:00
Russell Keith-Magee f7f2c7251a [1.2.X] Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor.
Backport of r13779 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:10:30 +00:00
Russell Keith-Magee 24f4a4b26f [1.2.X] Migrated delete doctests. Thanks to Alex Gaynor.
Backport of r13778 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:10:17 +00:00
Russell Keith-Magee 7fbdeb49f9 [1.2.X] Migrated defer doctests. Thanks to Alex Gaynor.
Backport of r13777 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:10:03 +00:00
Russell Keith-Magee 592288fb95 [1.2.X] Migrated custom_pk doctests. Thanks to Alex Gaynor.
Backport of r13776 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:09:49 +00:00
Russell Keith-Magee 574ee82792 [1.2.X] Migrated custom_methods doctests. Thanks to Alex Gaynor.
Backport of r13775 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:09:37 +00:00
Russell Keith-Magee e41d1b7614 [1.2.X] Migrated the custom_managers tests. Thanks to Alex Gaynor.
Backport of r13774 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:09:23 +00:00
Jannis Leidel 3a6afc7e0b [1.2.X] Fixed #13702 -- Made sure to actually fall back to the l10n format strings provided in the settings, when disabled.
Backport from trunk (r13770).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 19:41:48 +00:00
Malcolm Tredinnick 686d6a414c [1.2.X] Add warning when using cache keys that might not work with
memcached.

This means testing with local dev caches (not memcache) will warn
developers if they are introducing inadvertent importabilities.  There
is also the ability to silence the warning if a dev is not planning to
use memcache and knows what they are doing with their keys.

Thanks to Carl Meyer for the patch. Fixed #6447.

Backport of r13766 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 19:07:09 +00:00
Karen Tracey 6bc74f06e2 [1.2.X] Fix AdminDocsTest failure on 1.2.X branch by correcting the test to reference an app tag that actually exists in 1.2.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 18:14:45 +00:00
Russell Keith-Magee ceedef1447 [1.2.X] More cleanups for the manifest file.
Backport of r13760 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 06:39:02 +00:00
Justin Bronn 31744a78cd [1.2.X] Fixed #14060 -- PostGIS never implemented the `~=` operator for geography types, so removed support for it.
Backport of r13757 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 02:09:17 +00:00
Justin Bronn 24586d4d86 [1.2.X] Fixed regression in running the GeoDjango test suite after r13670 with addition of `GeoDjangoTestSuiteRunner` (replaces `run_gis_tests`, which is now a stub).
Backport of r13755 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 01:44:51 +00:00
Justin Bronn 864361aabd [1.2.X] Fixed #13390 -- `SplitDateTimeWidget` now recognizes when it's no longer required. Thanks vaxXxa for bug report and patch.
Backport of r13753 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 21:28:00 +00:00
Justin Bronn e4bd5e8a2d [1.2.X] Fixed #13149 -- The admin `ForeignKeyRawIdWidget` now properly handles non-integer values. Thanks, Chris Adams.
Backport of r13751 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 18:38:24 +00:00
Malcolm Tredinnick f4ebd701f2 [1.2.X] Adjust AdminDocTests to run after r13728. Also match comments to tests and add test that was there in comment form only.Refs #3695.
Backport of r13737 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 17:55:08 +00:00
James Bennett f140436e3a [1.2.X] Bump to 1.2.3.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 06:49:33 +00:00
Malcolm Tredinnick 4eb78b89ce [1.2.X] Improved unicode-type, ASCII-convertible header handling in
HttpResponse.

Fixed #8765. Thanks to SmileyChris and semenov for working on this one.

Backport of r13740 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 03:25:44 +00:00
Malcolm Tredinnick dc00873da0 [1.2.X] Fixed id attribute generation in the admin docs page. Patch from simeon.
Fixed #3695. Thanks.

Backport of r13728 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 03:25:39 +00:00
Justin Bronn ff0cb11c1b [1.2.X] Fixed #13599 -- No longer embed hidden `<td>` elements in `ChangeList` that cause improper rendering when `list_editable` is enabled; refactored `admin_changelist` tests. Thanks, skevy for bug report and patch.
Backport of r13744 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11 03:04:28 +00:00