Commit Graph

8767 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 89e0fde948 [1,2,X] Additions to the contributing document explaining our new decision-making process.
Backport of r13962.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-29 17:58:29 +00:00
Luke Plant ed1aa807e2 [1.2.X] Fixed #14182 - documented how to modify upload handlers when using CsrfViewMiddleware
Thanks to dc for the report.

Backport of [13960] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-29 17:34:26 +00:00
Russell Keith-Magee f27d85b8f4 [1.2.X] Modified a fixtures_regress test case to make it more robust to database ordering.
Backport of r13958 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-29 01:29:10 +00:00
Russell Keith-Magee a40380f37a [1.2.X] Corrected the spelling of David Brenneman's name in the AUTHORS file. Apologies, David.
Backport of r13956 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 15:09:06 +00:00
Russell Keith-Magee cd7e271e54 [1.2.X] Migrated fixtures_regress doctests. Thanks to David Brenneman for the patch.
Backport of r13954 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 14:53:21 +00:00
Russell Keith-Magee 49544ffb36 [1.2.X] Migrated extra_regress doctests. Thanks to Stephan Jaekel.
Backport of r13951 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 13:45:22 +00:00
Russell Keith-Magee 51ded1500f [1.2.X] Migrated expressions_regress doctests. Thanks to Stephan Jaekel.
Backport of r13950 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 13:44:49 +00:00
Russell Keith-Magee aec5f084a3 [1.2.X] Modified the requests unit tests so that they aren't dependent on dictionary ordering.
Backport of r13848 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 12:10:52 +00:00
Russell Keith-Magee 0f41f91bc2 [1.2.X] Unified the regressiontests/dateformat tests with the regressiontests/utils/dateformat tests.
Backport of r13938 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:31:01 +00:00
Russell Keith-Magee a36a8bbb39 [1.2.X] Migrated defaultfilters doctests. Thanks to Stephan Jaekel
Backport of r13937 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:30:22 +00:00
Russell Keith-Magee 3b255e33e8 [1.2.X] Migrated regressiontest/datastructures doctest, and moved it into the existing utils datastructures package. Thanks to Stephan Jaekel.
Backport of r13937 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:29:58 +00:00
Russell Keith-Magee efa27fc86c [1.2.X] A few test optimizations; using native unittest where no Django-specific TestCase features are required.
Backport of r13935 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:29:30 +00:00
Russell Keith-Magee 5277425ae4 [1.2.X] Migrated null_fk doctests. Thanks to Stephan Jaekel.
Backport of r13934 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:28:56 +00:00
Russell Keith-Magee ccd6a6783b [1.2.X] Migrated null_fk_ordering doctests. Thanks to Stephan Jaekel.
Backport of r13933 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:28:32 +00:00
Russell Keith-Magee a9e0305f22 [1.2.X] Migrated null_queries doctests. Thanks to Stephan Jaekel.
Backport of r13932 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:28:07 +00:00
Russell Keith-Magee 45859fe9ff [1.2.X] Migrated one_to_one_regress doctests. Thanks to Stephan Jaekel.
Backport of r13931 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 08:27:43 +00:00
Russell Keith-Magee 66cb5d5aae [1.2.X] Migrated requests doctests. Thanks to Stephan Jaekel.
Backport of r13927 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 07:10:05 +00:00
Russell Keith-Magee 7230b609c3 [1.2.X] Migrated reverse_single_related doctests. Thanks to Stephan Jaekel.
Backport of r13926 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 07:09:40 +00:00
Russell Keith-Magee e9f10deec0 [1.2.X] Migrated select_related_regress doctests. Thanks to Stephan Jaekel.
Backport of r13925 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 07:09:19 +00:00
Russell Keith-Magee cf0e0c47f0 [1.2.X] Removed a test assertion that depended on primary key ordering. The test doesn't validate anything significant, and fails under Postgres. Thanks to Tobias McNulty and the magical Caktus buildbot for pointing out the problem.
Backport of r13923 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 04:49:37 +00:00
Jannis Leidel 229c738a03 [1.2.X] Fixed #14053 -- Also localize long integers. Thanks, David Danier.
Backport from trunk (r13920).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 16:22:30 +00:00
Russell Keith-Magee 2511939883 [1.2.X] Added Stephan Jaekel to AUTHORS for his excellent work purging doctests.
Backport of r13897 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:38:08 +00:00
Russell Keith-Magee 554be48d01 [1.2.X] Migrated signals_regress doctests. Thanks to Stephan Jaekel.
Backport of r13896 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:37:45 +00:00
Russell Keith-Magee 025ee2c13e [1.2.X] Migrated string_lookup doctests. Thanks to Stephan Jaekel.
Backport of r13895 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:37:19 +00:00
Russell Keith-Magee 74b6c76e25 [1.2.X] Migrated text doctests. Thanks to Stephan Jaekel.
Backport of r13894 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:36:54 +00:00
Russell Keith-Magee 2f480e0882 [1.2.X] Migrated urlpatterns_reverse doctests. Thanks to Stephan Jaekel.
Backport of r13893 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:36:30 +00:00
Russell Keith-Magee 8425cdef45 [1.2.X] Added imports for some new unittest modules. Thanks to Stephan Jaekel.
Backport of r13892 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:36:07 +00:00
Russell Keith-Magee 0b7b3e1ae8 [1.2.X] Migrated datastructures utils doctests. Thanks to Stephan Jaekel.
Backport of r13891 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:35:39 +00:00
Russell Keith-Magee 46d1d951c2 [1.2.X] Migrated timesince utils doctests. Thanks to Stephan Jaekel.
Backport of r13890 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:35:07 +00:00
Russell Keith-Magee 4cd11f8681 [1.2.X] Reorganized utils tests so it's all in separate modules. Thanks to Stephan Jaekel.
Backport of r13889 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:34:41 +00:00
Russell Keith-Magee 494933a36b [1.2.X] Migrated datetime_safe doctests. Thanks to Stephan Jaekel.
Backport of r13888 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:34:06 +00:00
Russell Keith-Magee 1917a43c4b [1.2.X] Migrated tzinfo doctests. Thanks to Stephan Jaekel.
Backport of r13887 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:33:42 +00:00
Russell Keith-Magee 46448ec51e [1.2.X] Migrated datatypes doctests. Thanks to Sebastian Hillig.
Backport of r13886 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:33:17 +00:00
Russell Keith-Magee f1328b3adb [1.2.X] Migrated custom_columns_regress doctests. Thanks to Sebastian Hillig.
Backport of r13885 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:32:49 +00:00
Russell Keith-Magee 804b94e27d [1.2.X] Migrated backends doctests. Thanks to Sebastian Hillig.
Backport of r13884 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:32:19 +00:00
Russell Keith-Magee e8ccba765c [1.2.X] Migrated admin_validation doctests. Thanks to Sebastian Hillig.
Backport of r13883 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-27 15:27:25 +00:00
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 bb857bf4d4 [1.2.X] Fixed #14280 -- Fixed duplicate import of deepcopy. Thanks, Carl Meyer.
Backport from trunk (r13877).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-26 23:00:44 +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 7b556c2f1b [1.2.X] Fixed #14122 -- Added example for builtin yesno template filter. Thanks, idahogray.
Backport from trunk (r13872).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-26 20:53:45 +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 1fb572a6d6 [1.2.X] Committing missing files from [13859].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-16 19:58:25 +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