3063 Commits

Author SHA1 Message Date
Gabriel Hurley
4241197b40 [1.2.X] Improved example to account for environments where cStringIO is not available. Thanks to rubic for the report and niall for the patch.
Backport of [14076] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 10:23:48 +00:00
Gabriel Hurley
a96e50b76b [1.2.X] Adds documentation for QuerySet.update() method. Thanks to dwillis and timo for the majority of the wording.
Backport of [14074] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 10:01:01 +00:00
Gabriel Hurley
91310e759a [1.2.X] Fixed #13538 -- Clarified query examples with more explicit import statements and model vs. instance differentiation. Thanks to yipengh87 and kmtracey for the report, and timo for the patch.
Backport of [14070] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:26:29 +00:00
Russell Keith-Magee
9584b77c35 [1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch
Backport of r14069 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:25:01 +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
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
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
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
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
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
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
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
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
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
b176bd4f1e [1.2.X] Fixed #13623 - code in intro-tutorial03 missing an import statement
Thanks to lescoutinhovr@gmail.com, AMJ for the report, and to zerok/timo for
the patch.

Backport of [13847] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 22:49:18 +00:00
Luke Plant
0c8e8b15b5 [1.2.X] Fixed #12918 - Tutorial page 2 issues
Thanks to Leam for report, cassidy for patch.

Backport of [13841] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 19:43:41 +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
Luke Plant
1b910d7fbc [1.2.X] Fixed #13350 - Documentation on autoescape should mention endautoescape
Thanks to mountainpaul@gmail.com for report and to dwillis for patch.

Backport of [13694] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07 20:54:13 +00:00
Luke Plant
a537235d7f [1.2.X] Fixed #13853 - line with csrf_token too wide
Thanks to alper for report, alper/richardb for patch

Backport of [13688] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07 20:33:58 +00:00
Luke Plant
01e8d75c20 [1.2.X] Fixed #14205 - Tiny grammar fix in form validation documentation
Thanks to zendak for report and patch.

Backport of [13687] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07 20:26:23 +00:00
Luke Plant
17ae1d3262 [1.2.X] Fixed #13754 - Add a note about a test client session property gotcha
Thanks SmileyChris for report and patch.

Backport of [13685] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-03 19:04:29 +00:00
Russell Keith-Magee
5295d678b9 [1.2.X] Fixed #14054 -- Added documentation for the connection_created event. Thanks to Rob Hudson for the report and patch.
Backport of r13673 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30 13:25:47 +00:00
Luke Plant
57e6ee8507 Fixed #14189 - permalink docs import mistake
Thanks to 7times9 for report and patch.

Backport of [13666] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30 10:31:56 +00:00
Luke Plant
dde1f13315 [1.2.X] Fixed #13759 - Multi-db docs have an example that isn't syntax highlighting
Thanks to Tim Hatch for report and patch.

Backport of [13664] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30 10:27:08 +00:00
Luke Plant
be7f912ce7 [1.2.X] Fixed #14185 - improved example SQL for 'select' example.
Thanks to Trindaz for the suggestion.
  
Also fixed some references to 'lede' which is no longer part of the
example Blog model.

Backport of [13652] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-28 11:30:28 +00:00
Russell Keith-Magee
c868c368eb [1.2.X] Refactored markup documentation to give it it's own home.
Backport of r13647 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-28 02:44:24 +00:00
Russell Keith-Magee
35411fd7da [1.2.X] Fixed #14116 -- Added a flag to enable CSRF checks in the test client. Thanks to jon@licq.org for the suggestion.
Backport of r13640 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-27 13:58:36 +00:00
Karen Tracey
188c6b3e9a [1.2.X] Fixed #14172: Corrected misspelling of explicitly. Thanks 3point2.
r13638 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-26 11:10:45 +00:00
Russell Keith-Magee
06a35609a1 [1.2.X] Fixed #14154 -- Corrected grammar error in settings docs. Thanks to d00gs for the report.
Backport of r13633 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 13:51:49 +00:00
Russell Keith-Magee
e47520b8ba [1.2.X] Fixed #14112 -- Various Markup fixes for the docs. Thanks to ramiro for the patch.
Backport of r13628 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 08:08:46 +00:00
Russell Keith-Magee
0472978da5 [1.2.X] Fixed #3051 -- Documented the requirements for standalone testing. Thanks to Daniel Roseman for the draft text.
Backport of r13626 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 07:54:07 +00:00
Russell Keith-Magee
e5c4ba6151 [1.2.X] Fixed #14147 -- Added documentation metadata for new assertQuerysetEqual test method. Thanks to djoume for the report.
Backport of r13624 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 07:15:14 +00:00
Russell Keith-Magee
1d291ff733 [1.2.X] Clarified some markup in the discussion of fixture loading in testcases.
Backport of r13610 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-20 07:15:16 +00:00