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
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
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
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
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
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
Luke Plant
260eff5684
[1.2.X] Fixed a test so that it actually tests what it's supposed to test.
...
Previously it passed whether or not the view was 'csrf_exempt'ed.
Backport of [13735] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 23:58:52 +00:00
Luke Plant
890b0b6234
[1.2.X] Fixed #14235 - UnicodeDecodeError in CSRF middleware
...
Thanks to jbg for the report.
This changeset essentially backs out [13698] in favour of a method that
sanitizes the token rather than escaping it.
Backport of [13732] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 23:11:24 +00:00
Justin Bronn
43988e9835
[1.2.X] Fixed #13095 -- formfield_callback
keyword argument is now more sane and works with widgets defined in ModelForm.Meta.widgets
. Thanks, hvdklauw for bug report, vung for initial patch, and carljm for review. Backport of r13730 from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 22:54:52 +00:00
Karen Tracey
aec5cbc370
[1.2.X] Fixed #13799 , a test failure on Postgres. Thanks, Alex.
...
r13400 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 20:59:36 +00:00
Luke Plant
ec8d04cffe
[1.2.X] Fixed #11158 - get_image_dimensions very slow/incorrect after 1 call
...
Thanks to kua for the report, and to kua, SmileyChris and SAn for the patch
Backport of [13715] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 18:49:45 +00:00
Karen Tracey
13f1192911
[1.2.X] Fixed #14246 : Modified aggregation_regress tests so that they will pass on a variety (sqlite, Postgres, MySQL/MyISAM) of DBs.
...
r13712 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 18:11:25 +00:00
Karen Tracey
1b0084e2a0
[1.2.X] Fixed some of the problems with aggregation_regress tests on higher levles of Postgres. Refs #14246 .
...
r13709 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 17:08:14 +00:00
Luke Plant
ec4d6bb21d
[1.2.X] Fixed #14247 - 'forms' test failure in 1.2.X
...
Thanks to ramiro/pmclanaham for the report and analysis.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 13:17:38 +00:00
James Bennett
7f84657b6b
[1.2.X] Patch CSRF-protection system to deal with reported security issue. Announcement and details to follow. Backport of [13698] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-09 00:36:08 +00:00
Luke Plant
a04398eb1b
[1.2.X] Fixed #13081 - Admin actions lose get-parameters in changelist view
...
Thanks to joh for report and to SmileyChris for patch.
Backport of [13696] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07 20:59:28 +00:00
Luke Plant
79d9206711
[1.2.X] Fixed #13414 - QuerySet API ref wrong sql equivalent in __year lookup example
...
Thanks to idle for report and patch
Backport of [13690] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07 20:45:48 +00:00
Russell Keith-Magee
7a1b694189
[1.2.X] Fixed #14199 -- Added a missing table creation statement in the db cache backend cull implementation, and added tests for cache culling. Thanks to Tim for the report.
...
Backport of r13678 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-31 00:45:35 +00:00
Russell Keith-Magee
62355d8253
[1.2.X] Fixed #13798 -- Added connection argument to the connection_created signal. Thanks to liangent for the report, and Alex Gaynor for the patch.
...
Backport of r13672 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30 13:25:22 +00:00
Russell Keith-Magee
0ed363dd1a
[1.2.X] Fixed #14159 -- Corrected more potential uses of relative paths in tests. Thanks to Alex Gaynor for the patch.
...
Backport of r13636 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-24 02:27:22 +00:00
Russell Keith-Magee
49c5c07568
[1.2.X] Fixed #13140 -- Ensure that request headers are preserved through redirect chains in the test client. Thanks to David Novakovic for the report.
...
Backport of r13620 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-21 03:02:47 +00:00
Russell Keith-Magee
5c6fe321fe
[1.2.X] Fixed #14148 -- Ensure the admin_script tests always use an absolute path; PyPy (and sometimes CPython) return relative paths for __file__. Thanks to Alex Gaynor for the report and patch.
...
Backport of r13618 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-21 02:56:05 +00:00
Russell Keith-Magee
c3b13d8f03
[1.2.X] Fixed #13895 -- Refactored aggregation_regress doctests. Thanks to Alex Gaynor for the patch.
...
Backport of r13614 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-20 14:29:57 +00:00
Russell Keith-Magee
3fc9d7e390
[1.2.X] Fixed #14068 -- Corrected error handling in loaddata when an allow_syncdb method is defined on the router. Thanks to Xavier Ordoquy for the report.
...
Backport of r13612 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-20 14:07:02 +00:00
Russell Keith-Magee
c9016c15a9
[1.2.X] Fixed #14123 -- Made AdminDocs tests optional, based on the availability of docutils. Thanks to PaulM for the original report, and Łukasz Rekucki for narrowing down the cause.
...
Backport of r13606 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 13:12:52 +00:00
Russell Keith-Magee
13953badb7
[1.2.X] Fixed #13796 -- Ensure that builtin tags and filters are included in admin documentation views.
...
Backport of r13588 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-14 13:43:13 +00:00