Commit Graph

2262 Commits

Author SHA1 Message Date
Malcolm Tredinnick 4d6763128f [1.0.X] Documented patterns for adding extra managers to model subclasses.
This seems to have been a source of confusion, so now we have some explicit
examples. Fixed #9676.

Backport of r10058 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:46:26 +00:00
Malcolm Tredinnick 8a0a17628b [1.0.X] Clarified and expanded documentation for Manager.use_for_related_fields.
This is for Manager subclasses that are default managers, but only
sometimes.  The general rule is: "don't use it." If you really need it,
read the instructions.

Backport of r10057 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:45:56 +00:00
Ian Kelly de442c3ab6 [1.0.X] Clarified documentation regarding Oracle's treatment of nulls and empty strings. Backport of [9976] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-05 20:22:54 +00:00
Malcolm Tredinnick 79f53b4f20 [1.0.X] Made it explicit if you accidentally override a Field from a parent model.
This was always not working reliably (model initialization and serialization
were two of the problems). Now, it's an explicit error. Also, documented.

Fixed #10252.

Backport of r9974 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 10:40:50 +00:00
Malcolm Tredinnick 9e6d32edde [1.0.X] Minor update to documentation for many-to-many filter() calls.
Removed a potential ambiguity when describing how multiple conditions in one
filter() call are handled.

Backport of r9958 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-03 01:44:26 +00:00
Malcolm Tredinnick 1a5588fceb [1.0.X] Small edit to the caching docs.
Turns out, super-lightning is not faster than normal lightning. :-)

Backport of r9949 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 05:47:25 +00:00
James Bennett 9b5b2ee2f3 [1.0.X] Fixed #10377: Added clearer warning to database notes for cx_Oracle 5.0.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 06:05:44 +00:00
Russell Keith-Magee 16f05e78f1 [1.0.X] Fixed #9347 -- Added an entry in the field reference for the verbose_name option. Thanks to marcoberi for the suggestion, and timo for the eventual patch.
Merge of r9865 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:19:26 +00:00
Russell Keith-Magee d12ee872a1 [1.0.X] Fixed #9939 -- Corrected minor error in model fields documentation. Thanks to seemant for the report.
Merge of r9864 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:17:23 +00:00
Russell Keith-Magee b8797aebf0 [1.0.X] Fixed #10007 -- Corrected (and narrowed) a reference to the Python standard library documentation. Thanks to d00gs for the report.
Merge of r9863 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:15:40 +00:00
Russell Keith-Magee 1bd70b4e22 [1.0.X] Fixed #10118 -- Clarified the error message raised when accessing a subclass model that doesn't exist. Thanks to peterbraden@peterbraden.co.uk for the suggestion.
Merge of r9859 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:43:35 +00:00
Russell Keith-Magee 8519146963 [1.0.X] Fixed #10141 -- Added a missing import to the complex Feed example. Thanks to Temoto for the report.
Merge of r9858 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:41:41 +00:00
Russell Keith-Magee 429b57d642 [1.0.X] Fixed #10298 -- Corrected the example for the get_list_or_404 shortcut. Thanks to Dagur for the report.
Merge of r9857 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:39:55 +00:00
Russell Keith-Magee a21e170de7 [1.0.X] Fixed #10312 -- Corrected a link to the Reportlab user guide. Thanks to JohnDoe for the report.
Merge of r9856 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:37:47 +00:00
Adrian Holovaty 267122978f [1.0.X] Merged trunk changes [9850], [9851], [9852], [9853]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:54:32 +00:00
Gary Wilson Jr 910aa0ea28 [1.0.X] Auth-related doc cleanups:
* Added to documentation of missing characters from `allowed_chars` in `make_random_password`.
  * Fixed several long lines and word wraps.
  * Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive.
  * Turned a command line code example into a code block.
  * Added attribute reference link for a ``request.META`` mention.
  * Added `code-block:: html` directives for HTML examples.
  * Corrected reference links for all the `auth.views` functions.
  * Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272).

Backport of r9835 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16 05:14:18 +00:00
Gary Wilson Jr b09a197a3e [1.0.X] A few minor wording, whitespace, punctuation, and link changes for the middleware documentation.
Backport of r9833 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-15 05:47:30 +00:00
Gary Wilson Jr 5d417c44b7 [1.0.X] Corrected code block in apache auth docs.
Backport of r9806 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 03:15:25 +00:00
Russell Keith-Magee 2dce7064f4 [1.0.X] Fixed #8638 -- Added documentation on how to redirect email to a dummy server for testing purposes. Thanks to Rob Hudson and Marc Fargas for their work on the draft for this change.
Merge of r9793 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 23:40:57 +00:00
Karen Tracey 0f8f27f417 [1.0.X] Fixed #10152 -- Fixed typo in porting guide. Thanks eagle-eyed anonymous.
r9795 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 20:25:25 +00:00
Russell Keith-Magee 405b87c432 [1.0.X] Fixed #10110 -- Added FAQ on how and when to poke the core developers about tickets. Thanks to Graham King for turning a couple of django-dev posts into a good first draft.
Merge of r9789 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-24 12:12:26 +00:00
Jacob Kaplan-Moss 0cc51e8fdd A handful of fixes to django.contrib.comments:
* Fixed #9143, #9429, and #9439 (was r9730 on trunk)
  * Fixed #9959: comment preview documentation example (was r9731 on trunk)
  * Fixed #9346: comment upgrade SQL in documentation. (was r9732 on trunk).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 17:00:15 +00:00
Malcolm Tredinnick 37260e046f [1.0.X] Revised r9567 slightly to be backwards compatible with versions 1.0 - 1.0.2.
Also documented the change. We prefer to load directory_index.html for static
directory listings, but if you have the (older style) "directory_index"
template and no .html version, we'll load that. This should stop a bunch of
mysterious breakages when people upgrade to Django 1.0.3 or Django 1.1. Also
keeps the docs in sync with released code.

Fixed #9993.

Backport of r9725 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-09 12:42:35 +00:00
Ian Kelly f6cacacbff [1.0.X] Refs #9935: Added a note in the documentation to the effect that Django currently requires a 4.X release of cx_Oracle. Backport of [9709] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 18:25:52 +00:00
Malcolm Tredinnick ff3320cb6d [1.0.X] Documented that case-insensitive matching is not supported for non-ASCII
strings in SQLite. Refs #9905.

Backport of r9705 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 03:35:46 +00:00
Russell Keith-Magee 7982e5c510 Added a link to RKM's blog in the committers file.
Backport of r9698 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 05:06:22 +00:00
Adrian Holovaty fd9ddb2dc1 [1.0.X] Merged [9682], [9683] and [9684] from trunk. These were changes dealing with documenting and adding a helpful error message for the quirk of admin users needing 'change user' permission to add users. Refs #9866
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 06:02:44 +00:00
Gary Wilson Jr 1d37663aef [1.0.X] Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.
Backport of r9676 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:22:10 +00:00
Gary Wilson Jr 44239004db [1.0.X] Fixed #9902 -- Corrected misspelling in form validation documentation, thanks zunzun.
Backport of r9674 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 04:14:51 +00:00
Gary Wilson Jr 47de671948 [1.0.X] Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.
Backport of r9672 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:15:03 +00:00
Gary Wilson Jr 518e19a363 [1.0.X] Fixed #9780 -- Fixed an undefined internal link in the model forms documentation, thanks ramiro.
Backport of r9670 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:03:19 +00:00
Gary Wilson Jr 6c3a98ab3a [1.0.X] Fixed #9904 -- Corrected name of storage method in files documentation.
Backport of r9668 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 23:24:34 +00:00
Malcolm Tredinnick 6dd5c855d4 [1.0.X] Changed some ReST formatting of headers (in forms/validation.txt).
Backport of r9666 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 04:19:41 +00:00
Karen Tracey 26554aa6b2 [1.0.X] Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also Americanized specialised while in the area, per contributing's guideline.
r9662 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:23:35 +00:00
Malcolm Tredinnick 01e04e90e0 [1.0.X] 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.

Backport of r9470 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:49:43 +00:00
Karen Tracey 08d47a16e3 [1.0.X] Fixed a small reST header glitch in docs/ref/templates/builtins.txt. This was [9529] on trunk.
Also updated svnmerge.py metadata; all non bugfix changesets from trunk have been applied to 1.0.X.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 16:13:14 +00:00
James Bennett 349405009f [1.0.X] Yet another place where we claim to support 2.3 and up. Was [9635] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 01:53:02 +00:00
James Bennett c9a6c06de8 [1.0.X] Another place where we talked about Python versions. Was [9632] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 23:06:45 +00:00
James Bennett 1a12506846 [1.0.X] Clarify install docs to point at new FAQ items about Python 3.0. Was [9360] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:49:16 +00:00
James Bennett 707d144c30 [1.0.X] Fixed #9783; clarified install docs and FAQ to explain that Django does not yet work with Python 3.0. Was [9628] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:42:10 +00:00
Malcolm Tredinnick 4aaa15e812 [1.0.X] Documented how to handle '%' characters in redirect_to() URL strings
(even in the absence of keyword arguments). Fixed #9773.

Backport of r9626 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:35:34 +00:00
Malcolm Tredinnick 2e4336b659 [1.0.X] Fixed #9777 -- Typo fix.
Backport of r9622 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:32 +00:00
Malcolm Tredinnick bc2cc6eb09 [1.0.X] Fixed #9772 -- Fixed a couple of broken links and pointed them to a more
appropriate section. Thanks, Ramiro Morales.

Backport of r9621 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:02 +00:00
Adrian Holovaty 3988cb2d27 [1.0.X] Did some much-needed rewriting/editing in the formsets section of docs/topics/forms/modelsforms.txt. 'It self' is not two words. Backport of [9616]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 04:20:54 +00:00
Brian Rosner 7edf9149d7 [1.0.X] Improved the model formset and inline formset documentation to be more explicit and handle some cases that were never addressed before.
Backport of r9614 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 00:36:25 +00:00
Karen Tracey a9c5bf106c [1.0.X] In the release process doc, clarify that the original committer is responsible for backporting trunk fixes to the bug-fix branch.
r9610 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 17:18:50 +00:00
Gary Wilson Jr 3c4c1adefb [1.0.X] Fixed #9724 -- Added missing import to URLconf example, thanks shacker.
Backport of r9597 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:36:53 +00:00
Gary Wilson Jr 89f2a5892d [1.0.X] Fixed #9718 -- Removed a reference to oldforms FormWrapper? object in the user authentication docs.
Backport of r9595 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:29:43 +00:00
Malcolm Tredinnick 76cf4db494 [1.0.X] Fixed #9645 -- Work around a backwards-incompatibility in Sphinx so that
various combinations of released docutils and sphinx versions all work
together. Thanks, Ramiro Morales.

Backport of r9586 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 04:03:30 +00:00
Malcolm Tredinnick dc86735859 [1.0.X] Fixed #9677 -- Fixed a tiny typo in the 1.0.2 release notes.
Backport of r9584 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:56:50 +00:00