Commit Graph

649 Commits

Author SHA1 Message Date
Chris Beaven 41e086cfb5 [1.3.X] Fixes #16532 -- Clearer explanation of how the test client expects HTTP headers to be passed. Thanks for the patch, Ricardo Bánffy.
Backport of r16554 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-28 22:10:27 +00:00
Simon Meers c828cc1ba6 [1.3.X] Fixed #15715 -- added non-trivial decorator example to CBV docs. Thanks toofishes.
Backport of r16534 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:40:14 +00:00
Simon Meers 00886dfd2b [1.3.X] Fixed #16440 -- minor ungettext documentation issue, thanks Bradley Ayers.
Backport of r16532 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:33:42 +00:00
Jannis Leidel eb96665b7a [1.3.X] Added a few cross references to the i18n docs and documented pgettext and colleagues.
Backport from trunk (r16403).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15 10:50:08 +00:00
Timo Graham 5d71bec5e4 [1.3.X] Fixed #15949 - Clarified the docs for password_reset_done view; thanks cyclops for the suggestion; Horst Gutmann for the patch.
Backport of r16378 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 23:41:28 +00:00
Timo Graham f578563291 [1.3.X] Fixed #16145 - typo in manager docs; thanks leereilly.
Backport of r16324 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-04 14:39:16 +00:00
Timo Graham d2abec535e [1.3.X] Fixed #15801 - Incorrect external link for dictConfig; thanks David Niergarth for the report; jonash for the patch.
Backport of r16100 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-31 09:44:18 +00:00
Timo Graham 4124ef339c [1.3.X] Fixed #16093 - Typo in "Performing raw SQL queries"; thanks direvus.
Backport of r16293 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-30 12:11:46 +00:00
Jannis Leidel 879267f254 [1.3.X] Fixed #15992 -- Added more references to settings. Thanks, aaugustin.
Backport from trunk (r16290).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29 17:50:52 +00:00
Chris Beaven 18ecfad767 [1.3.X] Fixes #16072 -- incorrect documentation for multiple expressions inside a blocktrans tag
Backport of r16268 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-23 01:54:37 +00:00
Timo Graham b9bdc96f9e [1.3.X] Fixed #16056 - Memcached configuration mistake in docs; thanks antonio/d0ugal.
Backport of r16265 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 17:00:23 +00:00
Timo Graham 08f5ac3d51 [1.3.X] Fixed #16021 - Minor documentation fixes for Generic Class Views; thanks Bradley Ayers.
Backport of r16256 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 00:08:40 +00:00
Chris Beaven b5c6b4f1d4 [1.3.X] Tweaks to paginator documentation.
Backport of 16248 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 01:48:41 +00:00
Chris Beaven be776521db [1.3.X] Tidy up the sessions documentation creating links for session methods and crosslinking settings
Backport of r16245 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 00:52:36 +00:00
Gabriel Hurley d12ac6d048 git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16243 bcc190cf-cafb-0310-a4f2-bffc1f526a37 2011-05-18 20:35:32 +00:00
Gabriel Hurley 49f4a28cce [1.3.X] Fixed #16044 -- Corrected a copy-and-paste error in the opening paragraph of the views topic guide. Thanks to aplanas for the report and suggested wording.
Backport of [16240] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 20:12:15 +00:00
Simon Meers 8385b31c89 [1.3.X] Fixed #16014 -- numerous documentation typos -- thanks psmith.
Backport of r16220 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13 04:39:49 +00:00
Simon Meers fc39163177 [1.3.X] Fixed #16005 -- Error in blocktrans docs -- thanks bezidejni
Backport of r16218 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13 00:49:26 +00:00
Chris Beaven 9a4e5112b2 [1.3.X] Fixes #15595 -- emphasize the benefits of django.test.TestCase. Thanks for the patch Shawn Milochik
Backport of r16214 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-11 21:30:05 +00:00
Timo Graham 64e625b6a1 [1.3.X] Fixed #15827 - Documented that OneToOneField in Profile should be named 'user'; thanks lawgon.
Backport of r16155 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-04 23:44:54 +00:00
Timo Graham 53354f80f6 [1.3.X] Fixed #15942 - removed duplicate module id in docs; thanks magopian.
Backport of r16142 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 10:25:50 +00:00
Timo Graham fa261ea432 [1.3.X] Fixed #15887 - Added clarification for required_*() decorators; thanks RoySmith for the sugggestion.
Backport of r16139 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-01 20:11:04 +00:00
Jannis Leidel b44757ce51 [1.3.X] Fixed #6581 -- Moved documentation of django.contrib.auth.views.redirect_to_login to an own "Helper functions" section.
Backport form trunk (r16130).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30 13:37:53 +00:00
Timo Graham c05dd20fa5 [1.3.X] Fixed #15876 - Document that test.client.RequestFactory doesn't support sessions or request-altering middleware; thanks slinkp for the suggestion, ShawnMilo for the patch.
Backport of r16128 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30 13:02:47 +00:00
Timo Graham f53fe1e79e [1.3.X] Fixed #15875 - typo in F() example; thanks jblaine.
Backport of r16096 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-23 21:49:22 +00:00
Gabriel Hurley 64995cdd63 [1.3.X] Fixed #15794 -- Corrected an error in the docs which indicated applying decorators to any of the view-like methods would work when it will only work reliably with dispatch. Thanks to carbonXT for the report and patch.
Backport of [16056] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 20:04:46 +00:00
Gabriel Hurley 24adaf76f1 [1.3.X] Fixed #15593 -- Added a note that the output of `reverse` is urlquoted. Thanks to guettli for the report and draft patch.
Backport of [16054] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 19:51:54 +00:00
Timo Graham d935b232a2 [1.2.X] Fixed #15710 - removed "that that" typos.
Backport of r15942 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@15943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-29 10:25:18 +00:00
Timo Graham 9b0f1de566 [1.3.X] Fixed #15664 - Removed extra parens in commit_on_success example.
Backport of r15923 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@15924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-27 23:01:47 +00:00
Russell Keith-Magee 2f3bf2830d Made the English in r15897 much betterer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:20:52 +00:00
Russell Keith-Magee 62865b4cde Fixed #15527 -- Added a explanatory note about the SQL debug log. Thanks to boxm for the report, and jpaulett for the draft patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:18:09 +00:00
Gabriel Hurley a4ef094b0f Corrected a number of mislinked crossrefs and added a few new crossref targets found in/via the 1.3 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 20:12:17 +00:00
Ramiro Morales 413ceb57b2 Changed 'raise' statements to new style syntax in documentation. Thanks DaNmarner. Refs #15635.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 20:49:31 +00:00
Adrian Holovaty 304a50d8ca Fixed #15603 -- Changed the traceback error e-mails not to use HTML by default. It's now configurable with an 'include_html' parameter to AdminEmailHandler. Thanks, kmtracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 04:13:57 +00:00
Adrian Holovaty 2ee7cfcf1c Corrected email --> e-mail in topics/logging.txt. Refs #15603
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 04:02:40 +00:00
Jacob Kaplan-Moss fd2f18008c Fixed #14733: no longer "validate" .raw() queries.
Turns out that a lot more than just SELECT can return data, and this list is
very hard to define up front in a cross-database manner. So let's just assume
that anyone using raw() is at least halfway competant and can deal with
the error messages if they don't use a data-returning query.

Thanks to Christophe Pettus for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14 19:49:53 +00:00
Gabriel Hurley 409435440a Fixed #15558 -- Improved QuerySet reference docs and cleaned up numerous reST/sphinx problems.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-08 19:51:19 +00:00
Gabriel Hurley 8940969a7a Fixed #11864 -- Improved the "see also" section of the many-to-one model topic guide to more clearly connect people to the backwards-related objects docs and to the correct point in the model tests for sample code (since the doctests went away). Thanks to dwillis for the work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-04 22:29:16 +00:00
Gabriel Hurley 32255c20a5 Fixed #15557 -- removed an extra backtick from the `topics/http/shortcuts`. Thanks to johnthedebs for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-04 21:13:42 +00:00
Adrian Holovaty 136930085b Made small improvement to docs/topics/db/queries.txt -- added import statement to 'Complex lookups with Q objects' for easier scanning
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 21:04:32 +00:00
Gabriel Hurley 20b940614e Added crossref targets for a couple of Django exceptions and cleaned up related reST markup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 19:31:10 +00:00
Russell Keith-Magee afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
assert_ -> assertTrue
 assertEquals -> assertEqual
 failUnless -> assertTrue

For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 15:04:39 +00:00
Russell Keith-Magee d1290b5b43 Fixed #3094 -- Accelerated deprecation of XMLField, since it hasn't served any useful purpose since oldforms. Thanks to PaulM for driving the issue and providing the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 13:28:20 +00:00
Russell Keith-Magee 03717325dd Corrected some typos from r14673.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 00:24:41 +00:00
Jannis Leidel f6c991667f Fixed #4992 -- Respect the GET request query string when creating cache keys. Thanks PeterKz and guettli for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-02 12:47:36 +00:00
Gabriel Hurley c9db8cc83f Fixed #15395 -- Documented the modules/import paths for the various decorators in `django.views.decorators`. Thanks to slinkp for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-28 05:25:46 +00:00
Alex Gaynor f5bbeb147b Fixed #15509 -- corrected a typo in the cache docs. Thanks Paul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-26 08:49:05 +00:00
Russell Keith-Magee 7aa84917a4 Fixed #15299 -- Started the process of migrating the auth context processor support classes into the auth context processor module. Thanks to shailesh for the report, and v1v3kn for the draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-23 13:36:58 +00:00
Gabriel Hurley f58dd619b8 Fixed #15347 -- Corrected a typo in the l10n docs. Thanks to RaceCondition for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-18 22:42:37 +00:00
Gabriel Hurley eb80803454 Fixed #15342 -- Passed *args through to the parent class' dispatch method in the CBV example. Thanks to jnns for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-18 13:40:53 +00:00