475 Commits

Author SHA1 Message Date
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
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
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
Simon Meers
84e5277a25 [1.2.X] Fixed #14764 -- specified that a set is returned by User.get_..._permissions methods. Thanks MostAwesomeDude for the report.
Backport of r14787 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 01:23:11 +00:00
Ramiro Morales
0d6c945622 [1.2.X] Removed reference to potential exception during template rendering-time from the ungettext() documentation. Exceptions at that point should be considered and reported as a bug.
Backport of [14758] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01 15:09:56 +00:00
Gabriel Hurley
3c951d94b6 [1.2.X] Fixed #14775 -- Backports the changes in [13772], which documented an undocumented feature from 1.0. Thanks to jweyrich for the report, and timo and leovitch for the patch (again).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-29 05:54:43 +00:00
Timo Graham
1dd9c9c1fb [1.2.X] Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.
Backport of r14740 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 18:49:37 +00:00
Timo Graham
0a0d4884f6 [1.2.X] Fixed #14785 - fixes to middleware docs - thanks adamv for the patch.
Backport of r14731 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 21:59:03 +00:00
Timo Graham
82261de2fe [1.2.X] Fixed #14789 - remove an unused link from docs/topics/install.txt. thanks adamv for the report.
Backport of r14727 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:34:54 +00:00
Timo Graham
c71451c985 [1.2.X] Fixed #14784 - Add links to docs/topics/files.txt
Backport of r14725 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:28:35 +00:00
Timo Graham
d9ec98ca5d [1.2.X] Fixed #14783 - Links + style improvements to docs/topics/email.txt. Thanks adamv for the patch.
Backport of r14723 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:20:09 +00:00
Timo Graham
db345ac5a2 [1.2.X] Fixed #14744 - Add cross-links to docs/topics/http/views.txt. Thanks adamv for the patch.
Backport of r14720 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 16:54:21 +00:00
Timo Graham
165a860f87 Add back a colon that's needed but was removed in r14706
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 15:33:39 +00:00
Timo Graham
f26dae8fb2 [1.2.X] Fixed #14782 - Add/fix links in docs/topics/cache.txt. Thanks to adamv for the patch.
Backport of r14717 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 15:10:58 +00:00
Timo Graham
4b752d6490 [1.2.X] Fixes #14743 - Add sphinx links and other cleanups to topics/http/urls.txt. Thanks adamv for the patch.
Backport of applicable portions of 14705 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:27:28 +00:00
Alex Gaynor
73ff0f1287 [1.2.X] Fixed #14771 -- corrected a typo in the testing docs. Thanks to Christian Oudard for the patch. Backport of [14694].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 19:52:34 +00:00
Gabriel Hurley
857131685a [1.2.X] Fixed #14767 -- Reflowed paragraphs and cleaned up some markup/links in the topics/db/optimizations docs. Thanks to adamv for the report and patch.
Backport of [14690] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 11:53:04 +00:00
Gabriel Hurley
762aaf45b7 [1.2.X] Fixed #14727 -- Corrected three minor issues in the docs. Thanks to OldTroll for the report and the patch.
Backport of [14644] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 10:51:04 +00:00
Alex Gaynor
030fdcc7c8 [1.2.X] Fixed #14713 -- documented that resolve can raise Http404. Thanks to Adam for the patch. Backport of [14603].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 20:04:49 +00:00
Alex Gaynor
6469eec71d [1.2.X] Corrected some syntax issues in the docs. Backport of [14598].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 16:11:17 +00:00
Jannis Leidel
f58d17db74 [1.2.X] Fixed a bunch of code examples in the form media documentation.
Backport from trunk (r14594).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 15:45:15 +00:00
Gabriel Hurley
e074d2b9e9 [1.2.X] Fixed #14669 -- corrected an ungrammatical sentence in the internationalization docs. Thanks to steveire for the report.
Backport of [14539] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-12 02:49:21 +00:00
Ramiro Morales
caf51bfcd4 [1.2.X] Fixed typo in raw SQL docs example.
Backport of [14501] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 05:07:42 +00:00
Ramiro Morales
0164ee0082 [1.2.X] Completed and enhanced links to database-specific notes from the install docs.
Backport of [14491] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 21:46:03 +00:00
Gabriel Hurley
7509bdf86b [1.2.X] Fixed #12975 -- Moved the docs for contrib.admindocs out of the template docs and into their own reference section, and significantly improved the documentation of what admindocs can do. Thanks to jabapyth for the report, and whiteinge for the patch.
Backport of [14484] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 09:23:12 +00:00
Gabriel Hurley
2946a657cd [1.2.X] Fixed #8325 -- Reorganization and expansion of the login_required decorator docs to make it clearer how the redirect_field_name parameter works and improve the overall flow of the text. Thanks to Robert Reeves for the report.
Backport of [14480] from trunk (sans 1.3-specific changes).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:00:05 +00:00
Gabriel Hurley
1423593e8f [1.2.X] Fixed #14624 -- Updated a few outdated references to CacheMiddleware in the transactions topic guide. Thanks to quinode for the report.
Backport of [14470] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 09:21:00 +00:00
Alex Gaynor
80d6495f6e [1.2.X] Fixed #14629 -- corrected a misspelling and poor wording in the docs. Thanks to OldTroll for the patch. Backport of [14466].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 03:26:46 +00:00
Alex Gaynor
25452e3aa5 [1.2.X] Fixed #14619 -- corrected a typo in the email docs. Backport of [14463].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 21:10:22 +00:00
Jannis Leidel
b66df2f49e [1.2.X] Fixed typo in i18n docs.
Backport from trunk (r14451).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 12:03:01 +00:00
Ramiro Morales
20c6f3f3d1 [1.2.X] Fixed #13503 -- Corrected misleading custom permission example in the docs.
Thanks Daniel Moisset for the report.

Backport of [14403] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 02:35:18 +00:00
Gabriel Hurley
12652baca6 [1.2.X] Fixed #14578 -- Corrected a typo in the Models topic docs. Thanks to tobych for the report and patch.
Backport of [14369] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 01:56:41 +00:00
Gabriel Hurley
92435e1e48 [1.2.X] Fixed #11441 -- Improved signal topic guide, particularly regarding the weak and dispatch_uid parameters to the Signal.connect method. Thanks to Mike_A and sayane for the report, and gremmie for the draft patch.
Backport of [14337] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 08:54:51 +00:00
Gabriel Hurley
f0416f693f [1.2.X] Fixed #14537 -- Added documentation on where validators can be imported from to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report.
Backport of [14331] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 22:07:33 +00:00
Ramiro Morales
af3de6a712 [1.2.X] Fixed #14173 -- Added sections about contrib apps-provided commands to django-admin.py docs.
Added documentation about changepassword, pointers to GeoDjango and sitemaps
commands, grouped them by app.

Backport of [14327] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 16:43:42 +00:00
Alex Gaynor
7377e4f92d [1.2.X] Fixed #14534 -- updated an out of date link in the docs. Thanks to d0ugal for the report and Frank Wiles for the patch. Backport of [14318].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-22 21:20:30 +00:00
Gabriel Hurley
9dfdcf86be [1.2.X] Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps.
Thanks to idahogray for assisting with the patch (and sorry for forgetting the attribution in the patch on trunk).

Backport of [14270] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:11:51 +00:00
Gabriel Hurley
1b7d73848c [1.2.X] Changed ModelForm.fields and ModelForm.exclude examples to use tuples instead of lists since they were used inconsistently throughout the page (it wasn't hurting anything, but consistency is nice). Thanks to lspcity for the report and gruszczy for the patch.
Backport of [14134] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 22:41:51 +00:00
Ramiro Morales
46812b4c2b [1.2.X] Fixed #6073 -- Made compilemessages 18n management command reject PO files with BOM.
Backport of [14125] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 16:45:06 +00:00
Gabriel Hurley
1322968409 [1.2.X] Makes links to form and field validation (and form reference docs in general) more readily available from form topic overview. Thanks to john_fries for the report.
Backport of [14112] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 07:09:57 +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
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
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
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
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