Commit Graph

9218 Commits

Author SHA1 Message Date
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
Alex Gaynor ff7f25052b [1.2.X] Fixed the world's ugliest syntax (that's not an actual error) that snuck in with [14858]. Backport of [14859].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08 18:37:24 +00:00
Alex Gaynor 0f7f6a8adf [1.2.X] Fixed #14870 -- don't catch AttributeErrors in database router methods, instead check that the method itself exists. Thanks to jonash for the patch. Backport of [14857].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08 18:32:20 +00:00
Ian Kelly d0056051a5 [1.2.X] Replaced an ImportError with ImproperlyConfigured in the Oracle backend. Backport of r14855 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08 08:00:50 +00:00
Alex Gaynor 1c81377af5 [1.2.X] Ensure that a Popen object is closed promptly during the tests. Backport [14853].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08 04:03:30 +00:00
Simon Meers 7c23fbd9a0 [1.2.X] Fixed #8975 -- documented related order methods -- thanks to Leo for the report and dwillis for the initial patch.
Backport of r14848 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 23:09:55 +00:00
Gabriel Hurley a47c2eff6c [1.2.X] Fixed #14846 -- Corrected a tiny typo in from [14832]. Thanks to elbarto for catching the mistake.
Backport of [14846] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 23:08:21 +00:00
Gabriel Hurley d1c0c473ce [1.2.X] Fixed #14840 -- Added crossrefs to related objects reference docs. Thanks to adamv for the report and patch.
Backport of [14842] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 12:17:45 +00:00
Timo Graham bc709e6b86 [1.2.X] Fixed #14746 - Add links to docs/ref/request-response.txt. Thanks adamv.
Backport of r14840 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 01:55:53 +00:00
Simon Meers 63f2c07d3a [1.2.X] Fixed #14841 -- added xrefs to topics/db/models. Thanks adamv.
Backport of r14837 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 23:53:59 +00:00
Timo Graham ecca5414f9 [1.2.X] Fixed #14745 - add links to topics/http/shortucts.txt. thanks adamv for the patch.
Backport of r14835 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 16:48:05 +00:00
Gabriel Hurley 8f2feb2e76 [1.2.X] Fixed #13162 and #11597 -- Improved the file handling documentation: Removed documentation of methods on django.core.files.File that did not exist, added documentation for undocumented methods and attributes that did exist, did a general cleanup of the text and organization, and added more metadata targets. Thanks to amenasse and tyrion.mx for the reports.
Backport of [14833] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 07:36:40 +00:00
Gabriel Hurley a4d88f007c [1.2.X] Fixed #13605 -- Improved documentation of the django.core.files.storage module. Added documentation for DefaultStorage, get_storage_class, FileSystemStorage, and some missing public methods on Storage. New metadata targets included for everything. Thanks to kopernikus for the report and elbarto for contributing to the patch.
Backport of [14831] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 06:46:23 +00:00
Russell Keith-Magee 54b122c9bb [1.2.X] Fixed #14833 -- Skip the sitemaps localization test if i18n isn't enabled. Thanks to Julien Phalip for the report and patch.
Backport of r14826 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 02:09:29 +00:00
Russell Keith-Magee b0d9eaaa6a [1.2.X] Fixed #14799 -- Provided a full solution for test database creation order problems.
Backport of r14822, r14823 and r14824 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 01:54:15 +00:00
Timo Graham 778782eac8 [1.2.X] Fixed #14120 - Document get() in Making Queries - thanks danielr and adamv for work on the patch.
Backport of r14820 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 22:32:28 +00:00
Timo Graham f6294c00e2 [1.2.X] Fixed #12407 - Document 'call_command' - thanks UloPe for the suggestion and adamv for the patch.
Backport of r14818 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 20:58:36 +00:00
Timo Graham 84c283744f [1.2.X] Fixed #9033 - Add bullets to QuerySet extra() arguments. thanks julien for the suggestion and dwillis for the patch.
Backport of r14816 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 20:42:07 +00:00
Timo Graham ff76e2cde8 [1.2.X] Fixed #14811 - Add clarifying note to render_to_response - thanks adamv.
Backport of r14814 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 20:21:49 +00:00
Justin Bronn d54d7a52a9 [1.2.X] GeoDjango test suite housekeeping. Moved data into fixtures for `relatedapp` and `distapp` tests, and made both use Django's `TestCase`; moved functionality out of `GeoDjangoTestSuiteRunner` to allow future re-use in `runtests.py` (refs #10420); compressed test app fixtures and cleaned up imports.
Backport of r14776 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 13:11:54 +00:00
Simon Meers 65b26b30a7 [1.2.X] Fixed #12812 -- added warning about cyclic imports in contrib.comments. Thanks to Beetle_B, bjourne and philgyford for the reports, and Russ for the wording.
Backport of r14810 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 11:38:26 +00:00
Russell Keith-Magee 6c53a816e7 [1.2.X] Fixed #14807 -- Ensure that boolean values aren't localized as T.rue and Fa.lse because of the thousand separator. Thanks to vanschelven for the report and
Backport of r14804 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 08:04:16 +00:00
Alex Gaynor 70383ccf68 [1.2.X] Fixed a broken test introduced in [14786].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:53:23 +00:00
Alex Gaynor cc48f66f73 [1.2.X] Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. Backport of [14803].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:49:31 +00:00
Russell Keith-Magee 5a792ec4cc [1.2.X] Fixed #14737 -- Moved the docstring comment for the cache_page decorator so it gets picked up as a docstring. Thanks to adamv for the report and patch.
Backport of r14798 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:05:57 +00:00