9192 Commits

Author SHA1 Message Date
Jannis Leidel
9184dba1f5 [1.2.X] Fixed #13743 -- Fixed CommentsAdmin to not blow up if the delete_selected action is disabled. Thanks, Daniel Lindsley.
Backport from trunk (r14996).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 15:14:28 +00:00
Alex Gaynor
eb7f2789f8 [1.2.X] Fixed a Python 2.5 syntax error. Backport of [14983].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19 02:01:01 +00:00
Ramiro Morales
d5c15a490e [1.2.X] Fixed a couple of tests migrated to unit tests in r14279 so they actually and correctly exercise the functionality under test.
Backport of [14981] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 23:10:29 +00:00
Alex Gaynor
160533410f [1.2.X] Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES correctly and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14956].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:16:15 +00:00
Alex Gaynor
989f59299c [1.2.X] Converted Uruguayan localflavor doctests into unittests. We have alwyas been at war with doctests. Thanks to Idan Gazit. Backport of [14955].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:16:01 +00:00
Alex Gaynor
0c33a3a89c [1.2.X] Converted United States localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14954].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:15:52 +00:00
Alex Gaynor
e7703398c4 [1.2.X] Converted United Kingdom localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14953].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:15:41 +00:00
Alex Gaynor
b17b567744 [1.2.X] Converted Slovak localflavor doctests into unitttests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14952].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:15:31 +00:00
Alex Gaynor
60e36fbc72 [1.2.X] Fixed #14864, #14864 -- ROCIFField didn't accept values starting with RO, as it was supposed to, and ROCNPField, ROIBANField, and ROPhoneNumberField didn't handle all EMPTY_VALUES correctly. Also converted Romanian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14951].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:15:18 +00:00
Alex Gaynor
b6fbf30a32 [1.2.X] Converted Portuguese localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14950].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:15:03 +00:00
Alex Gaynor
4b3198d15d [1.2.X] Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't handle all EMPTY_VALUES correctly. Also converted teh Polish localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14949].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:14:52 +00:00
Alex Gaynor
a15aa66917 [1.2.X] Converted Dutch localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14948].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:14:39 +00:00
Alex Gaynor
771ffbf0f6 [1.2.X] Converted Kuwaiti localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14947].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:14:30 +00:00
Alex Gaynor
5c3ede2171 [1.2.X] Converted Japanese localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14946].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:14:20 +00:00
Alex Gaynor
f2a8534d7b [1.2.X] Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField didn't handle all EMPTY_VALUES gracefully. Also converted the Italias localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14945].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:14:11 +00:00
Alex Gaynor
edcb475381 [1.2.X] Converted Icelandic localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14944].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:58 +00:00
Alex Gaynor
56f5043c23 [1.2.X] Converted Irish localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14942].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:49 +00:00
Alex Gaynor
3c50c138c5 [1.2.X] Converted Indonesian localflavor doctests to unittests. We have always been a war with doctests. Thanks to Idan Gazit. Backport of [14941].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:39 +00:00
Alex Gaynor
994ba4f3ad [1.2.X] Converted generic localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14940].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:30 +00:00
Alex Gaynor
4aedbcb57e [1.2.X] Converted French localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14939].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:20 +00:00
Alex Gaynor
aaaaa831fe [1.2.X] Converted Finnish localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14938].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:11 +00:00
Alex Gaynor
812b1b2d8c [1.2.X] Converted Spanish localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14937].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:13:01 +00:00
Alex Gaynor
cae809bb3c [1.2.X] Converted Chilean localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14936].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:12:51 +00:00
Alex Gaynor
177b090ec2 [1.2.X] Converted Swiss localflavor doctests to unittests. Thanks to Idan Gazit for the patch. Backport of [14935].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:12:41 +00:00
Alex Gaynor
94adbd1d12 [1.2.X] Converted Canadian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14934].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:12:31 +00:00
Alex Gaynor
d2ef2cd9cc [1.2.X] Converted the Brazillian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14933].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:12:22 +00:00
Alex Gaynor
f32feafccf [1.2.X] Converted Australian localfavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14931],
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 22:12:08 +00:00
Luke Plant
5a33ce2500 [1.2.X] Fixed #14919 - test isolation issue with model_inheritance.ModelInheritanceTests.test_multiple_table and views.DefaultsTests.test_csrf_token_in_404
test_csrf_token_in_404 was assuming DEBUG = False, and test_multiple_table
was leaving DEBUG = True.  Both issues have been fixed.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 19:35:46 +00:00
Karen Tracey
6c357cc9bb [1.2.X] Fixed the ModelMultipleChoiceFieldTests to pass even on DB backends that do not reuse pk values after rollback.
r14928 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 17:40:53 +00:00
Karen Tracey
5e6c5418c0 [1.2.X] Fixed test_runner tests on 1.2.X branch to not atempt to use new unittest support that does not exist there.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 16:51:18 +00:00
Timo Graham
82e8ad3dca [1.2.X] Fixed #14676 - Document that the removetags filter is case-sensitive. Thanks peterh32 for the report and elbarto for the patch.
Backport of r14925 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 15:37:55 +00:00
Timo Graham
2a0dda3df9 [1.2.X] Fixed #6434 - Add clarifying note about auto_now and auto_now_add. thank adamv for the patch.
Backport of r14923 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 14:05:40 +00:00
Timo Graham
38c88f7c2a [1.2.X] Fixed #14848 - change example verbose name to match convention. thanks madisv for the suggestion.
Backport of r14917 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-14 23:44:28 +00:00
Alex Gaynor
642ba981e1 [1.2.X] Fixed #14897 -- fixed some synax highlighting in the formset documentation. Thanks to marcusf for the patch. Backport of [14912].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 19:37:48 +00:00
Jannis Leidel
bd4f4b8ab9 [1.2.X] Fixed #13726 -- Further refine changes made in r12384 and r13069 for using non-English source languages in JavaScript translation catalogues. Thanks, Ramiro.
Backport from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:58:38 +00:00
Jannis Leidel
2ab1e92854 [1.2.X] Fixed #12735 and #14892 -- Fixed support for the latest IPython (development) version in the shell management command.
Backport from trunk (r14895).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:58:09 +00:00
Jannis Leidel
4803410721 [1.2.X] Fixed #14446 -- Prevented the password reset confirmation view to be cached. Thanks, Paul and Gabriel.
Backport from trunk (r14890).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:57:54 +00:00
Jannis Leidel
33a6201fdf [1.2.X] Fixed #14312 -- Raising an `IncorrectLookupParameters` if the page number given to an admin change list exceeds the number of the last page. Thanks, mk.
Backport from trunk (r14889).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:57:38 +00:00
Jannis Leidel
49c2f23ec1 [1.2.X] Fixed #14158 -- Fixed SelectMultiple._has_changed to not assume same order of data anymore. Thanks, akaariai and dmoisset.
Backport from trunk (r14887).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:57:15 +00:00
Jannis Leidel
32bf35da09 [1.2.X] Fixed #14144 -- Made sure custom validators are called in ModelMultipleChoiceFields. Thanks, matiasb.
Backport from trunk (r14886).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:56:55 +00:00
Jannis Leidel
69edfc7531 [1.2.X] Fixed #14805 -- Capitalize "Google" in sitemaps docs. Thanks, Adam.
Backport from trunk (r14884).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:56:38 +00:00
Jannis Leidel
33e7a8214b [1.2.X] Fixed #13856 -- Float admin's top links on the right for RTL languages.
Backport from trunk (r14881).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:56:18 +00:00
Jannis Leidel
d6cf84b032 [1.2.X] Fixed #12955 -- Use the size attribute of the file instead of len() to support uploads larger than 2GB. Thanks, swiedenroth and isagalaev.
Backport from trunk (r14878).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:56:02 +00:00
Jannis Leidel
38d848a3fe [1.2.X] Fixed #11990 -- Show the correct URLconf in the technical 404 template even if it was overridden, e.g. in a middleware. Thanks, mattbennett.
Backport from trunk (r14877).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:55:46 +00:00
Luke Plant
3c208d1cca [1.2.X] Reverted [13998] because it never worked.
Refs #5425, #14844

Backport of [14897] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 13:41:12 +00:00
Alex Gaynor
b734e3514e [1.2.X] Fixed #14499 -- ATSocialSecurityNumberField now responds to all EMPTY_VALUES correctly. Also converted Austrian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14873].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12 04:37:01 +00:00
Alex Gaynor
9bbd12120e [1.2.X] Converted the Argentina localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14872].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12 04:35:24 +00:00
Timo Graham
cf53963b6a [1.2.X] Fixed #14863 - Add contrib.messages to list of default INSTALLED_APPS in tutorial.
Backport of r14870 (without staticfiles) from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-11 15:06:50 +00:00
Timo Graham
f1a9a8bb41 [1.2.X] Fixed #11470 - add documentation for ModelAdmin.message_user. thanks adamv.
Backport of r14868 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-11 13:58:11 +00:00
Timo Graham
546c77e0ae [1.2.X] Fixed #14875 - moved mention of email_re in 1.2 release notes from features deprecated to backwards incompatible changes. thanks galund for the report and elbarto for the patch.
Backport of r14866 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-11 13:30:21 +00:00