Jannis Leidel
d99f19fb6a
[1.2.X] Fixed #14290 -- Made format localization faster by caching the format modules. Thanks, Teemu Kurppa and Anssi Kääriäinen for the report and initial patches.
...
Backport from trunk (r13898).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:27:07 +00:00
Russell Keith-Magee
6ee04e0f97
[1.2.X] Migrated admin_registration doctests. Thanks to Sebastian Hillig.
...
Backport of r13882 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:26:57 +00:00
Russell Keith-Magee
3a66f15a68
[1.2.X] Migrated admin_ordering doctests. Thanks to Sebastian Hillig.
...
Backport of r13881 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:26:29 +00:00
Russell Keith-Magee
3640abd976
[1.2.X] Migrated admin_inlines doctest. Thanks to Sebastian Hillig.
...
Backport of r13880 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:25:57 +00:00
Jannis Leidel
ad3b281c97
[1.2.X] Fixed #14271 -- Use absolute path for admin media tests. Thanks, Alex Gaynor.
...
Backport from trunk (r13874).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-26 20:57:00 +00:00
Jannis Leidel
4d966ee202
Fixed #12544 and #13600 -- Fixed static files serving view to catch invalid date from If-Modified-Since header. Thanks akaihola and SmileyChris for patches.
...
Backport from trunk (r13870).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-26 20:46:37 +00:00
Jannis Leidel
c37add7c47
[1.2.X] Fixed #7535 -- Correctly set Content-Encoding header in static files serving view. Thanks for the report and patch, Kevin Hunter.
...
Backport from trunk (r13868).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-26 15:12:38 +00:00
Russell Keith-Magee
5f4fe3cdfc
[1.2.X] Migrated the custom_managers_regress doctests. Thanks to Paul McMillan.
...
Backport of r13866 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-26 09:56:37 +00:00
Luke Plant
804719ff23
[1.2.X] Fixed #12019 - backwards compatibility issues with cache_page decorator.
...
Thanks to rokclimb15 for the report, and j4mie/rokclimb15 for the patches.
Backport of [13864] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-21 19:33:53 +00:00
Russell Keith-Magee
80b9233e4a
[1.2.X] Fixed #11486 -- Corrected the XML serializer to allow for the serialization of objects with a null PK value. Also includes migration of doctests to unittests (we have always been at war with doctests). Thanks to zdmytriv for the report, and Niall Kelly for the patch.
...
Backport of r13862 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-19 14:05:43 +00:00
Ian Kelly
a63bea3e3b
[1.2.X] Fixed #14244 : Allow lists of more than 1000 items to be used with the 'in' lookup in Oracle, by breaking them up into groups of 1000 items and ORing them together. Thanks to rlynch for the report and initial patch. Backport of [13859] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-16 19:56:39 +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
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
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
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
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
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
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