491 Commits

Author SHA1 Message Date
Russell Keith-Magee
0958f32209 [1.2.X] Refs #14661 -- Clarified the handling of initial data injected via custom SQL.
This is BACKWARDS INCOMPATIBLE CHANGE for anyone relying on SQL-injected initial data in a test case.

Backport of r15239 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-18 16:55:00 +00:00
Timo Graham
0866dc1715 [1.2.X] Fixed #13628 - Discourage the use of doctests; thanks d0ugal for the suggestion.
Backport of r15227 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16 19:27:23 +00:00
Russell Keith-Magee
73b3611723 [1.2.X] Fixed #15062 -- Documented the fact that managers must be able to be shallow copied. Thanks to Ian Clelland for the report, and Łukasz Rekucki for the help diagnosing the problem.
Backport of r15220 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16 06:45:35 +00:00
Timo Graham
12d5c09fdd [1.2.X] Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.
Backport of r15135 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 13:30:12 +00:00
Luke Plant
fa4ac6f80c [1.2.X] Some small fixes to DB optimization docs.
Backport of [15122] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31 15:48:51 +00:00
Timo Graham
2d854539c3 [1.2.X] Fixed #14997 - A typo in "Overriding delete". thanks phunehehe for the report.
Backport of r15117 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31 13:10:05 +00:00
Timo Graham
b5a7ac4fff [1.2.X] Fixed #12193 - Add details to the i18n documentation for translation of model classes (relations and methods). Thanks Maxime Petazzoni and Ramiro for work on the patch.
Backport of r15102 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 15:39:44 +00:00
Timo Graham
235f29fa37 [1.2.X] Fixed #13961 - note that reverse URL lookups can't be done within a blocktrans tag. Thanks garrison for the report and richardb and zerok for work on the patch.
Backport of r15100 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 14:23:10 +00:00
Timo Graham
d5970df38e [1.2.X] Fixed #12313 - Add a note that QuerySet.delete() doesn't necessarily call obj.delete(). thanks FunkyELF for the suggestion.
Backport of r15071 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:47:14 +00:00
Timo Graham
5ba7bac5e7 [1.2.X] Fixed #6181 - Document django.views.decorators.http - thanks adamv for the patch.
Backport of r15064 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 13:28:04 +00:00
Timo Graham
b1487c499b [1.2.X] Fixed #13949 - Note that readonly fields can't be modified via custom clean methods. thanks alk for the suggestion and elbarto and Gabriel Hurley whose language I used in the final patch.
Backport of r15060 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 21:51:51 +00:00
Timo Graham
89cb543f9e [1.2.X] Fixed #14000 - Remove versionadded/changed tags for 1.0. thanks ramiro!
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 00:46:36 +00:00
Timo Graham
40f2bb37c9 [1.2.X] Fixed #13020 - add clarifying note to SessionStore. thanks elbarto for the patch.
Backport of r15053 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25 20:46:44 +00:00
Jannis Leidel
af1c8b2cfa [1.2.X] Fixed #14910 -- Clarified the order of precedence of loading translation catalogues. Thanks, vanschelven.
Backport from trunk (r14998).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 15:14:52 +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
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