Commit Graph

128 Commits

Author SHA1 Message Date
Ian Kelly bde7e79fb3 Refs #9935: Added a note in the documentation to the effect that Django currently requires a 4.X release of cx_Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 18:22:07 +00:00
Malcolm Tredinnick 3b489b7742 Documented that case-insensitive matching is not supported for non-ASCII
strings in SQLite. Refs #9905.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 03:34:47 +00:00
Malcolm Tredinnick f747b61c20 Nested query support.
This extends previous functionality that allowed passing Query objects as the
rvals to filters. You can now pass QuerySets, which requires less poking at
opaque attributes. See the documentation of the "__in" lookup type for the
details.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-05 11:47:48 +00:00
Gary Wilson Jr 05737128de Fixed #9902 -- Corrected misspelling in form validation documentation, thanks zunzun.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 04:13:14 +00:00
Malcolm Tredinnick 9d13b6ec28 Changed some ReST formatting of headers (in forms/validation.txt).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 04:18:00 +00:00
Malcolm Tredinnick b58a260c56 Fixed #9431 -- Added extra validation for VARCHAR-based fields on MySQL.
max_length > 255 and unique=True is not permitted. Based on a patch from
adamnelson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:43:18 +00:00
Malcolm Tredinnick b4364e099e Documented how to handle '%' characters in redirect_to() URL strings (even in
the absence of keyword arguments). Fixed #9773.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:33:08 +00:00
Malcolm Tredinnick 80da07e4b9 The "permanent" parameter to redirect_to (r9594) is new in Django 1.1. Noted as
much in the docs.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:32:28 +00:00
Malcolm Tredinnick 731f6be262 Fixed #9777 -- Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:15:35 +00:00
Malcolm Tredinnick d29b7a14c5 Fixed #9772 -- Fixed a couple of broken links and pointed them to a more
appropriate section. Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:13:49 +00:00
Adrian Holovaty b76d7c1dec Added a 'permanent' argument the simple.redirect_to() generic view. It's True by default, to match existing behavior. If set to False, the redirect will be a 302 instead of a 301. This is technically backwards-incompatible if you were using the redirect_to generic view with a format-string key called 'permanent', which is highly, highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:53:34 +00:00
Adrian Holovaty e9b90d9899 Edited ref/contrib/csrf.txt changes from [9554]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:15:19 +00:00
Malcolm Tredinnick 89ada943ee Fixed #9705 -- Call the Netherlands by their real name in the localflavor
documentation.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:42:25 +00:00
Malcolm Tredinnick 04ff1aff12 Fixed #9712 -- Documented how HTTP headers are converted to request.META keys.
Based on a patch from masklinn.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:41:54 +00:00
Malcolm Tredinnick 5d7c57f681 Fixed some markup errors in the form validation docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 05:37:37 +00:00
Malcolm Tredinnick 4bdbd1401d Fixed #9735 -- Documentation typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:50:46 +00:00
Luke Plant 9ec9936413 Updated csrf docs with 'versionadded' info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 00:44:12 +00:00
Luke Plant 9eedc7bd0b New CsrfMiddleware features: automatic exceptions for known AJAX and decorator for manual exceptions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 00:34:18 +00:00
Malcolm Tredinnick 87fc7efda5 Added a note to the SQLite database documentation mentioning that version 3.6.2
is to be avoided like the plague. Fortunately, it was only the latest release
for three weeks, so avoidance is easy (as is upgrading).

Refs #9358.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 05:58:15 +00:00
Jacob Kaplan-Moss 4aa97f5c18 Fixed #6398: added an optional `{% empty %}` clause to the `{% for %}` template tag. The contents of this clause are rendered if the list iterated over turns out to be empty. Thanks, Jannis Leidel.
Astute readers will notice that the patch originally called this `default`; after consideration I decided that `empty` is a very slightly better color for this particular bikeshed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 22:01:48 +00:00
Jacob Kaplan-Moss 136c4f8549 Fixed a small reST header glitch in docs/ref/templates/builtins.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 22:01:24 +00:00
Jacob Kaplan-Moss 089ab18c02 Fixed #4924: added support for loading compressed fixtures. Thanks to Lars Yencken and Jeremy Dunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 20:42:09 +00:00
Adrian Holovaty 0cfcc72f88 Renamed file-uploads.txt from 'topics-file-uploads' to 'topics-http-file-uploads' to be consistent with directory structure
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 07:32:38 +00:00
Malcolm Tredinnick 644ad9073f Fixed #9477 -- Removed and edited a bunch of references to "development
version". Some were replaced with versionadded or versionchanged directives.
Other, more minor ones, were removed altogether.

Based on a patch from James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:51:25 +00:00
Malcolm Tredinnick 599852d04d Fixed #9507 -- Correct an example in the admin docs. Thanks, john_scott and
SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:49:51 +00:00
Karen Tracey c672e44ea9 Fixed #9556 - typos in syndication docs. Thanks sedden.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09 19:01:34 +00:00
Karen Tracey c483583023 Fixed #9497 - Doc typos. Many thanks ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 20:43:20 +00:00
Karen Tracey d4f4ab8535 Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:02:09 +00:00
Malcolm Tredinnick cbe11c1982 Fixed #9430 -- Fixed documentation references to the HttpResponse classes for
returning HTTP status codes other than 200.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:24:42 +00:00
Malcolm Tredinnick 032b7bc45e Fixed #9420 -- Fixed an exception type in the documentation of Queryset.get().
Based on a suggestion from daveyjoe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:15:52 +00:00
Malcolm Tredinnick 9900c87161 Fixed #9390 -- Restored some documentation about select_related() that was
accidentally lost in the docs refactor.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:15:07 +00:00
Malcolm Tredinnick 92a6c14291 Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:14:30 +00:00
Malcolm Tredinnick ede4f94621 Fixed #9239 -- Somebody read my form validation docs from r9177 and found a
typo in them. I guess that was predictable. Thanks, Berry Groenendijk


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:30:54 +00:00
Malcolm Tredinnick a928c563e9 Added a lot more explanation about form field validation, including expanded
examples. Fixed #5843, #6652, #7428.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:21:11 +00:00
Malcolm Tredinnick 870a6ec20c Fixed #6979 -- Fixed the documentation cross-reference between the TIME_ZONE
setting and manual settings configuration.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:18:30 +00:00
Malcolm Tredinnick e0a09b7dac Fixed a couple of markup errors in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:28:18 +00:00
Malcolm Tredinnick 0995b63b77 Fixed #8964 -- Added a note that MyISAM may not necessarily be the default
storage engine for MySQL. Some packagers seem to like causing confusion.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:56:15 +00:00
Malcolm Tredinnick 514fba5b92 Fixed #9291 -- Tweaked a piece of example code slightly to set a good example
for others (now uses an encoding that is guaranteed to work for XML consumers).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:18:41 +00:00
Russell Keith-Magee 8d98e70e42 Promoted --verbosity to be a top level option for all management commands. Also added -v as a consistent short form of --verbosity. This is mostly to save Malcolm's poor arthritic fingers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-02 12:57:13 +00:00
James Bennett 73c0db8e42 Fixed #9255: Removed now-obsolete warning about the old semantics of __exact=None vs. __isnull=True
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 22:29:58 +00:00
Adrian Holovaty 97087962b1 Rewrote bits of the cycle tag documentation, which was confusing -- it implied 'rowvar' was required
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 17:45:58 +00:00
Malcolm Tredinnick 4eb26b1659 Restored documentation about pickling QuerySets (and how to only pickle the
details for the query, rather than the results) from r7499.

These were accidentally nuked in the docs refactor. We know who the offenders
were. They will be made to sit in the corner on the naughty mat for a while.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 03:08:30 +00:00
Malcolm Tredinnick edabc4aca1 Fied #9169 -- Fixed a typo in a docs example. Thanks, jeremyb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27 03:25:42 +00:00
Russell Keith-Magee 48d41cf78e Fixed #8371: Added a note warning Windows users about the use of forward slashes when specifying the DATABASE_NAME setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 11:10:39 +00:00
Russell Keith-Magee 54f962c0bf Fixed #8967: Added documentation for the 'through' option on a many-to-many field in the fields reference documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 11:07:35 +00:00
James Bennett 1b733aa10d Fixed #9149: Fixed reST error in syndication docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21 07:43:58 +00:00
Russell Keith-Magee 7faa23d69c Fixed #9121: Corrected markup in the form preview docs. Thanks to Jarek Zgoda for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18 15:57:47 +00:00
Malcolm Tredinnick 11e29c887a Fixed some misordered markup for the ROOT_URLCONF setting in the docs.
Fixed #9098.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 07:59:05 +00:00
Adrian Holovaty 7a80a9fa7d Fixed #8546 -- Fixed error in request-response.txt where we were incorrectly listing HttpResponse.content() in the 'Methods' section instead of the 'Attributes' section. Thanks, schmichael
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 05:18:41 +00:00
Adrian Holovaty c1bed37715 Fixed #9103 -- Added django.contrib.admin to the docs modindex (I think)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 04:52:25 +00:00