Commit Graph

8808 Commits

Author SHA1 Message Date
Russell Keith-Magee a322ba66a1 [1.2.X] Migrated the custom_columns doctests to unit tests. Thanks to Alex Gaynor.
Backport of r13765 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:23:32 +00:00
Simon Meers 824ca0d6e5 [1.2.X] Fixed #14255 -- factor project name out of app imports in tutorial. Thanks to adamend for the report and initial patch.
Backport of r14066 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:48:09 +00:00
Gabriel Hurley b2bd6c9d56 [1.2.X] Corrects a typo in [14063]. Thanks to Russ for the report.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:36:07 +00:00
Gabriel Hurley 19352c9cd9 [1.2.X] Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to KathyManwaring for the report and stumbles for the patch.
Backport of [14062] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:28:47 +00:00
Simon Meers 8fd9f2eb9f [1.2.X] Fixed #5677 -- update modpython stdout documentation. Thanks to Manfred Wassmann for the report, nickefford for the initial patch and Graham Dumpleton for the expert advice.
Backported of r14059 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 05:10:32 +00:00
Ramiro Morales fae5b04f11 [1.2.X] Fixed #12872 -- Removed vestiges of mythic old template validation admin app functionality.
Backport of [14055] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 04:10:39 +00:00
Russell Keith-Magee a3581f9a55 [1.2.X] Fixed #14354 -- Normalized the handling of empty/null passwords in contrib.auth. This also updates the createsuperuser command to be more testable, and migrates some auth doctests. Thanks to berryp for the report, and Laurent Luce for the patch.
Backport of r14053 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 03:36:46 +00:00
Ramiro Morales 714694aeed [1.2.X] Added myself to the committers list.
Backport of [14051] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 03:23:01 +00:00
Simon Meers 52e7812901 [1.2.X] Fixed #5537 -- document trailing '+' on related_name for supressing backward relation.
Thanks to dcramer for the report, and Russ for pointing out the workaround.

Backport of r14049 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 02:57:11 +00:00
Carl Meyer 5ff085d65e [1.2.X] Added myself to committers. Backport of [14047].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 02:11:18 +00:00
Alex Gaynor ae448e4439 [1.2.X] Fixed #13241. order_with_respect_to now works with ForeignKeys who refer to their model lazily (i.e. with a string). Thanks to Gabriel Grant for the patch. This is a backport of [14045].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 23:55:38 +00:00
Alex Gaynor 3ab1a0c7d6 [1.2.X] Converted order_with_respect_to to unittests. We have always been at war with doctests. Backport of [14043].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 23:48:07 +00:00
Simon Meers 0eb8c02c6e [1.2.X] Fixed #14023 -- include non_field_errors in example. Thanks to konryd for the report and patch.
Backport of r14041 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 23:37:48 +00:00
Andrew Godwin 475fb82d98 [1.2.X] Adding my bio. This is a backport of [14309].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 23:17:14 +00:00
Simon Meers cd1134d6df [1.2.X] Added my bio to committers.txt. Backport of [14037]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 22:52:41 +00:00
Alex Gaynor e8051e983a [1.2.X] Added myself to the committers docs. This is a backport of [14034] and [14035].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 21:12:55 +00:00
Jannis Leidel 9937943f3a [1.2.X] Fixed a few minor backporting oversights that prevented the tests to pass.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 17:54:40 +00:00
Jannis Leidel fb3f629457 [1.2.X] Fixed #10970 -- Initialize DateFields with datetime.date objects, not datetime.datetime. Thanks, summerisgone, Cyberj and Ramiro Morales.
Backport from trunk (r14029).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 17:54:11 +00:00
Russell Keith-Magee 9d1bf9d5ad [1.2.X] Fixed #14232 -- Clarified the data type of date_list in date-based generic views. Thanks to clelland for the report and patch.
Backport of r14020 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:47:09 +00:00
Russell Keith-Magee de3669d2fa [1.2.X] Fixed #14274 -- Added admonition about using -Wall when you run tests. Thanks to Eric Holscher for the suggestion and draft, and to timo for contributions to the patch.
Backport of r14019 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:46:49 +00:00
Russell Keith-Magee eae8c65177 [1.2.X] Fixed #14375 -- Corrected the capitalization of MultiValueField. Thanks to Blue for the report.
Backport of r14018 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:46:27 +00:00
Russell Keith-Magee 9ad73135c0 [1.2.X] Fixed #14383 -- Corrected the capitalization of reStructuredText. Thanks to timo for the patch.
Backport of r14017 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:46:03 +00:00
Russell Keith-Magee 5170a12a88 [1.2.X] Fixed #14384 -- Updated mod_wsgi docs to match documented best practice. Thanks to monokrome for the report and wogan for the patch.
Backport of r14016 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:45:33 +00:00
Russell Keith-Magee bbab38dc50 [1.2.X] Fixed #14421 -- Clarified the english in the i18n documentation. Thanks to Ned Batchelder for the report and patch.
Backport of r14015 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:45:07 +00:00
Russell Keith-Magee 21be09dbb4 [1.2.X] Fixed #14225 -- Added a documentation marker (and a 1.2.2 release notes file, required to satisfy Sphinx) for the enable_csrf_checks flag on the test client. Thanks to public@grep.ro for the report.
Backport of r14011 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:44:28 +00:00
Jannis Leidel 83f762e3ac Fixed #13188 -- Moved date format documentation from the now template tag to the date filter. Thanks, dwillis and timo.
Backport from trunk (r14013).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:43:20 +00:00
Russell Keith-Magee 0d4d924ca5 [1.2.X] Fixed #13218 -- Ensure that syndicated content served over HTTPS uses https:// links by default. Thanks to schaefer for the report, and Ben Firshman for the patch.
Backport of r14007 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 14:17:13 +00:00
Russell Keith-Magee 36167517aa [1.2.X] Fixed #14221 -- Cleaned up some text in the GIS tutorial. Thanks to Grant <renderbox@gmail.com> for the report.
Backport of r14006 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 14:16:50 +00:00
Russell Keith-Magee 5b1e21e200 [1.2.X] Fixed #14381 -- Clarified exception handling when instantiating Routers. Thanks to dauerbaustelle for the suggestion and patch.
Backport of r14005 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 14:16:29 +00:00
Russell Keith-Magee 0a52a04a07 Backport of r14003 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 13:53:25 +00:00
Luke Plant cf1d9f4b2c [1.2.X] Fixed #14430 - Test failure on Windows with get_image_dimensions since [13715]
Thanks to gabrielhurley for report and patch.

Backport of [14001] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07 23:49:31 +00:00
Luke Plant 01b12a6fab [1.2.X] Fixed #5425 - Incorrect plurals in admin pagination template.
Thanks to Petr Marhoun for the report, and mk for the patch.

Backport of [13998] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07 22:33:02 +00:00
Luke Plant 12187bfd26 [1.2.X] Fixed #14386, #8960, #10235, #10909, #10608, #13845, #14377 - standardize Site/RequestSite usage in various places.
Many thanks to gabrielhurley for putting most of this together.  Also to
bmihelac, arthurk, qingfeng, hvendelbo, petr.pulc@s-cape.cz, Hraban for
reports and some initial patches.

The patch also contains some whitespace/PEP8 fixes.

Backport of [13980] from trunk. Some items could be considered features
(i.e.  supporting RequestSite in various contrib apps), others are definite
bugs, but it was much more robust to backport all these tightly related
changes together.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-05 20:31:02 +00:00
Luke Plant c7ce5b8929 [1.2.X] Fixed #13092 -- Added support for the "in" operator when dealing with context lists. Thanks to clelland for the patch.
Backport of [13510] from trunk.  Backported in order to support some other
tests which need to be backported.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-05 20:27:11 +00:00
Luke Plant cb00181854 [1.2.X] Fixed #11358: Don't include private flatpages in sitemap. Thanks dburke and mlavin.
Backport of [13734] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-05 19:41:48 +00:00
Russell Keith-Magee 8266925684 [1.2.X] Fixed #10215 -- Ensured that there is parity between enter and leave transaction calls in loaddata when commit=False. The test case for this is the fixtures_regress unittests under MyISAM, which were failing previous to this fix. Thanks to MockSoul for the report.
Backport of r13978 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-02 13:56:58 +00:00
Russell Keith-Magee 1429a3dbba [1.2.X] Corrected a test failure under MySQL.
Backport of r13976 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-02 13:14:47 +00:00
Jannis Leidel 36ce5d0b3a [1.2.X] Fixed #14363 -- Fixed render method of ManyToManyRawIdWidget to set attrs to an empty dict. Thanks, tyrion and dpn.
Backport from trunk (r13971).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01 02:40:25 +00:00
Jannis Leidel 6d30b2847c [1.2.X] Fixed #14362 -- Made sure all parameters are passed to the ManyToManyRawIdWidget. Thanks, tyron.
Backport from trunk (r13970).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01 02:40:01 +00:00
Jannis Leidel a0cabd766f [1.2.X] Fixed #13568 -- Fixed the blocktrans tag to not raise a KeyError if the number of variables in the singular and the plural block differ. Thanks, deloide.
Backport from trunk (r13967).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01 02:39:45 +00:00
Jannis Leidel ebc084ca35 [1.2.X] Fixed #13876 -- Fixed duplication in docs. Thanks, zerok and timo.
Backport from trunk (r13966).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01 02:39:25 +00:00
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