Commit Graph

2313 Commits

Author SHA1 Message Date
Gary Wilson Jr 52b877eef0 Fixed #7781 -- Documented the `per_page` argument/attribute for `Paginator` objects. Also documented `Paginator`'s other arguments and made use of ReST definition lists. Thanks to hiukkanen for the
report.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 01:33:43 +00:00
Gary Wilson Jr 351a3ca154 Removed several deprecated features for 1.0 (refs #7830):
* "simple" cache backend
 * `ObjectPaginator`
 * `edit_inline_type` argument for `ForeignKey` fields
 * `QOperator`, `QNot`, `QAnd` and `QOr`
 * `maxlength` argument 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-02 04:56:11 +00:00
Gary Wilson Jr a500ade891 Removed two-year-old note about testing framework being under development.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-02 00:40:05 +00:00
Brian Rosner b5c5e8b4c0 Reverted [8182]. Accidently committed from the wrong branch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 22:47:45 +00:00
Brian Rosner 9d3c921857 Initial admin template docs. Needs more work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 22:46:09 +00:00
Brian Rosner 2904c1d4b3 Clarified the raw_id_fields documentation and added it to InlineModelAdmin options section. Added examples as well. Fixes #7905. Thanks Matthew Flanagan for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 19:47:26 +00:00
Brian Rosner e7508a456e Fixed #7983 -- Added fields to the ModelAdmin section in the admin documentation. Thanks julien for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 19:29:37 +00:00
James Bennett 74927cd87e Clarify the m2m intermediary docs a bit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 04:38:55 +00:00
Russell Keith-Magee 8880fdd9ee Fixed #7935 -- Corrected typo in template docs, plus slightly clarified the language. Thanks to jturnbull for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 12:37:38 +00:00
Russell Keith-Magee a98d12b1b2 Fixed #7998 -- Corrected typo. Thanks to ElliotM for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 11:11:44 +00:00
Russell Keith-Magee 4454bde3c1 Fixed #7999 -- Slightly changed the overview example to disambiguate the use of 'article'. Thanks to Kaell <joshalto@hotmail.com> for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 10:08:12 +00:00
Malcolm Tredinnick ea45a932d3 A couple of small typo fixes in the settings docs. Fixed #8032.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 03:19:31 +00:00
Malcolm Tredinnick ab07a9b19f Added a clarification to the docs about filtering across nullable intermediate
models with a NULL entry. I'm not brilliantly happy with the description
(it's too long for such an edge case, for a start), but it gets the intent across. Refs #8025.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 23:09:54 +00:00
Russell Keith-Magee 174641b9b3 Fixed #6095 -- Added the ability to specify the model to use to manage a ManyToManyField. Thanks to Eric Florenzano for his excellent work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 12:41:08 +00:00
Malcolm Tredinnick b6fe483bf5 Fixed #1157 -- Added some text to i18n.txt to explain how to install the
necessary gettext tools on Windows (relevant to translators only). Thanks,
Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 06:02:47 +00:00
Malcolm Tredinnick b3b71a0922 Fixed #7560 -- Moved a lot of the value conversion preparation for
loading/saving interactions with the databases into django.db.backend. This
helps external db backend writers and removes a bunch of database-specific
if-tests in django.db.models.fields.

Great work from Leo Soto.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 05:09:29 +00:00
James Bennett 4b6766cd6b Remove the last remaining references to manipulators outside of oldforms docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:51:07 +00:00
James Bennett de9e2ae5bb Removing another mention of manipulators
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:27:16 +00:00
James Bennett fdff91ac2d Remove a couple mentions of manipulators (which are no longer relevant) from docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:23:49 +00:00
Gary Wilson Jr 9a5301ccbc Made the Paginator class a bit more backwards compatible with the lecacy `ObjectPaginator` class by using the `ObjectPaginator`'s `_get_count` method. Instead of explicitly checking for an instance of `QuerySet`, this now allows any object with a `count()` or `__len__()` method defined to be passed to Paginator. For one, this is useful when you have custom `QuerySet`-like classes that implement a `count()` method but don't inherit from `QuerySet` explicitly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:01:55 +00:00
Gary Wilson Jr 7d1c147bb4 Fixed #7320 -- For `object_list` generic view, the `page` argument can also be the string "last", thanks Ubercore.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 22:09:12 +00:00
Malcolm Tredinnick 82a85fdbae Fixed #6427 -- Added some more features to the Austrian localflavor.
Thanks, Horst Gutmann.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:54:56 +00:00
Gary Wilson Jr 156b21a339 Removed trailing whitespace in admin docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:36:08 +00:00
Gary Wilson Jr b1c0dc5a01 Normalized the use of "JavaScript" in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:34:21 +00:00
Gary Wilson Jr 633ed5c4c9 Fixed #7986 -- Added to the documentation the purpose of the `prepopulated_fields` `ModelAdmin` option now that its no longer just a parameter for `SlugField` fields, thanks frasern.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:27:56 +00:00
Malcolm Tredinnick e29aece743 Fixed #4534 -- Added an "else" option to the "ifchanged" template tag.
Patch from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 22:09:43 +00:00
Russell Keith-Magee 8099bc536b Fixed #7963 -- Corrected reference to deprecated properties in UploadedFile documentation. Thanks to Marty Alchin for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 15:06:42 +00:00
Malcolm Tredinnick badde8a7e5 Fixed #7793 -- Handle sitemaps with more than 50,000 URLs in them (by using
pagination). Patch from Julian Bez.

The docs patch here could probably do with some rewording.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 05:07:16 +00:00
Malcolm Tredinnick a26ba33111 Fixed #7686 -- Added an Austrian localflavor. Thanks, bernd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 04:25:42 +00:00
Malcolm Tredinnick 4ec2b8904b Fixed #7948 -- Fixed a typo in the linebreaks filter documentation, pointed out
by Joel Kitching.

While I was in the neighbourhood, made one other example a little more
consistent.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 03:08:53 +00:00
Russell Keith-Magee cdc6415fdf Fixed #7962 -- Corrected typo in testing docs. Thanks to cgod for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 01:12:46 +00:00
Gary Wilson Jr a1fda7e1b0 Fixed #7896 -- Corrected a couple typos in fastcgi docs, thanks Thomas Steinacher.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 00:26:51 +00:00
Malcolm Tredinnick 7c33cc7f5e Fixed #7398 -- Allow for custom cache-backends to be used.
Based on a patch from Lau Bech Lauritzen and Brenton Simpson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 18:51:32 +00:00
Luke Plant 7c0cf545ef Standardised documentation of the Field help_text option and ModelAdmin.fields 'description' option.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 14:47:35 +00:00
Russell Keith-Magee 3898af2f51 Fixed #7937 -- Corrected typo in layout of db docs. Thanks to John Scott for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 11:32:06 +00:00
Russell Keith-Magee ecdd071794 Fixed #7951 -- Corrected typo in FAQ. Thanks to vulcan_eager for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 11:21:21 +00:00
Brian Rosner 9237466bee Removed a colon that was rendering the bullet-point list below it as code in docs/admin.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 22:39:41 +00:00
Brian Rosner 4e723f9571 Fixed #7897 -- Corrected some spelling and grammatical errors in the InlineModelAdmin objects documentation. Thanks arthurk and Karen Tracey for catching these.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 22:30:25 +00:00
Adrian Holovaty c51d000c37 Fixed #7870 -- Fixed typo in docs/forms.txt. Bad form, whoever originally wrote that
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:44:48 +00:00
Adrian Holovaty f5328f4c38 Fixed #7841 -- Fixed typo in docs/forms.txt. Thanks, msaelices
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:31:05 +00:00
Adrian Holovaty cf2a05952e Fixed #7868 -- Updated FAQ 'When will you release 1.0' to have an actual, valid answer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:10:05 +00:00
Adrian Holovaty bfcecfee91 Fixed #7814 -- Fixed a number of style inconsistencies in the docs. Thanks, uzi and programmerq
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:01:21 +00:00
Adrian Holovaty ca98003390 Fixed spaces vs. tabs issue in docs/contenttypes.txt from [7976]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:57:14 +00:00
Gary Wilson Jr 459a7965dd Changed "each" to "ease" and made several edits from Adrian.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:33:16 +00:00
Malcolm Tredinnick cee642bcb8 Fixed a few formatting errors and typos, courtesy of the proofreaders in #django-dev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:02:40 +00:00
James Bennett 2ba74aeb89 1.0 alpha release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 01:27:16 +00:00
Brian Rosner 1ef86fdf2b Fixed #7869 -- Removed a reference to an inner Admin class in docs/contributing.txt. Thanks John Scott.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:39:22 +00:00
Gary Wilson Jr fb51608332 It's time for the "newforms" documentation to arrive:
* Removed the "more coming soon" section from bottom of "newforms" docs.
 * Removed note on "oldforms" docs that "we have begun to document" newforms.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:13:41 +00:00
Jacob Kaplan-Moss 3a2686a70d Added a link to admin docs in add_ons.txt. Refs #7829.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:12:15 +00:00
Jacob Kaplan-Moss ba6d7e1bae Improved the bit of the tutorial that explains how to enable the admin. Fixes #7824.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:10:33 +00:00
Jacob Kaplan-Moss 882ffc0569 Fixed reST error in [8024].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:04:59 +00:00
Jacob Kaplan-Moss f2c31535a0 Tweaked forms/oldforms docs to better represent the current state of things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:00:59 +00:00
Gary Wilson Jr 8b1684e676 Corrected link to ModelForm doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:57:50 +00:00
Gary Wilson Jr ce3bdc86d4 Refs #7864 -- Corrected more instances of "newforms" in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:56:52 +00:00
Ian Kelly 4dd242bdeb Corrected the privileges needed to run the test suite under Oracle
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:50:04 +00:00
Gary Wilson Jr 24aa08f486 Refs #7864 -- Updates to documentation for the oldforms/newforms switch.
* Moved forms.txt to oldforms.txt
 * Moved newforms.txt to forms.txt
 * Updated links and most references to "newforms" (there are a few sections that need a more significant rewrite).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:38:54 +00:00
Malcolm Tredinnick bfcecbffd3 Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or
equivalents). Basically, URL resolving will only use the PATH_INFO and the
SCRIPT_NAME will be prepended by reverse() automatically. Allows for more
portable development and installation. Also exposes SCRIPT_NAME in the
HttpRequest instance.

There are a number of cases where things don't work completely transparently,
so mod_python and fastcgi users should read the relevant docs.

Fixed #285, #1516, #3414.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 07:57:10 +00:00
Brian Rosner c2ee295f50 Fixed #7850 -- Added adding django.contrib.admin to INSTALLED_APPS to the steps to activating the Django admin site. Thanks dacort for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 18:20:54 +00:00
Malcolm Tredinnick 55ebc2b594 Modified [7999] based on some feedback from Marty Alchin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:50:06 +00:00
Malcolm Tredinnick e942636fbe Added a cavaet to the use of get_FOO_filename() and get_FOO_url(). This
constraint has always existed, but it's very hard to fix in the current code,
so better to work around it for now.

Refs #5619


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:26:46 +00:00
Malcolm Tredinnick 8ac9cbee2f Fixed #7763 -- Added a Romanian localflavor. Thanks, MihaiD.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:22:44 +00:00
Brian Rosner 67eeb72e26 Fixed #7838 -- Corrected an invalid class name the 'classes' usage in the tutorial. Thanks kratorius for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 15:51:48 +00:00
Brian Rosner 4729e3836e Fixed #7839 -- Corrected admin documentation and tutorial to reflect that 'classes' should be a list and not a string. Thanks Jan Rademaker for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 15:37:28 +00:00
Russell Keith-Magee c819252bf5 Fixed #7832 -- Corrected a formatting error in the newforms docs. Thanks to omat@gezgin.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 11:27:55 +00:00
Russell Keith-Magee 649463dd34 Fixed #4412 -- Added support for optgroups, both in the model when defining choices, and in the form field and widgets when the optgroups are displayed. Thanks to Matt McClanahan <cardinal@dodds.net>, Tai Lee <real.human@mrmachine.net> and SmileyChris for their contributions at various stages in the life of this ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 07:53:02 +00:00
Russell Keith-Magee b5b0febc4c Fixed #7785 -- Added a note in the contenttypes documentation that GenericRelations must share a common field type for primary keys. Thanks to Rudolph for the suggestion and initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 02:46:12 +00:00
Russell Keith-Magee 39af2738fd Fixed #7782 -- Corrected documentation to refer to chunks(), rather than the deprecated chunk().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 01:07:17 +00:00
Brian Rosner a19ed8aea3 Merged the newforms-admin branch into trunk.
This is a backward incompatible change. The admin contrib app has been
refactored. The newforms module has several improvements including FormSets
and Media definitions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:54:34 +00:00
Gary Wilson Jr 5735e161a2 Refs #6086 -- Changed settings docs to reflect deprecation of "simple" cache backend in [6822].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:46:10 +00:00
Malcolm Tredinnick 5f6b08fc6b Fixed #7685 -- fixed a typo in French localflavor documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:02:06 +00:00
Jacob Kaplan-Moss 7997133a3d Fixed #3639: updated generic create_update views to use newforms. This is a backwards-incompatible change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 19:45:00 +00:00
Malcolm Tredinnick c681f4070c Removed the mysql_old backend. It smells bad and has no friends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 17:38:53 +00:00
Russell Keith-Magee b4cc77c73d Fixed #7605 -- Added a note about SQLite database creation to Tutorial 1. Thanks to pfctdayelise for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13 12:16:11 +00:00
Russell Keith-Magee bba79ce4b4 Fixed #7534 -- Added a note about TEST_DATABASE_CHARSET in the contribution documentation. Thanks to Peter Melvyn for the suggestion and initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13 11:47:09 +00:00
Russell Keith-Magee 502e9a5ab4 Fixed #7737 -- Corrected a comment in the testing docs to be PEP257 compliant. Thanks to msas@telia.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13 08:45:17 +00:00
Russell Keith-Magee 4aa6c57251 Fixed #7583 -- Corrected the testing docs that referred to the defunct headers attribute of the response. Added a test case to validate (and document) the new behavior. Thanks to Malcolm for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-12 06:16:42 +00:00
Malcolm Tredinnick 88c17b5821 Documented that the update() method on querysets is a direct SQL call, not the
same as looping over the queryset and calling save() on each item (which is
less efficient). Fixed #7447.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-11 10:03:04 +00:00
Adrian Holovaty a724fff300 Fixed #7307 -- Split InvalidPage exception into two subclasses, PageNotAnInteger and EmptyPage, for granular exception catching. Thanks for the idea, miracle2k
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-08 02:20:48 +00:00
Adrian Holovaty cb70c99537 Fixed #7569 -- Improved a link in docs/generic_views.txt to link to the new pagination docs. Thanks, Carl Karsten
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-08 02:11:09 +00:00
Adrian Holovaty 4406d283e1 Fixed #7478 -- Rolled QuerySetPaginator into the Paginator class, to simplify things. QuerySetPaginator still exists as an alias, for backwards compatibility. Thanks for the suggestion, batiste@dosimple.ch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-08 02:08:33 +00:00
Jacob Kaplan-Moss 33666ef829 Fixed #7638, a small typo in uploading files docs. Thanks, Horst Gutmann.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-07 23:36:53 +00:00
Jacob Kaplan-Moss a28b75b0ba Fixed #7614: the quickening has come, and there now is only one UploadedFile. On top of that, UploadedFile's interface has been improved:
* The API now more closely matches a proper file API. This unfortunately means a few backwards-incompatible renamings; see BackwardsIncompatibleChanges. This refs #7593.
  * While we were at it, renamed chunk() to chunks() to clarify that it's an iterator.
  * Temporary uploaded files now property use the tempfile library behind the scenes which should ensure better cleanup of tempfiles (refs #7593 again).

Thanks to Mike Axiak for the bulk of this patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-07 23:16:00 +00:00
Malcolm Tredinnick e2740dd400 Fixed #7630 -- Slight tweak to the custom form widget exampleto avoid any
confusion. Based on a patch from Christian Tanzer.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 11:00:58 +00:00
Malcolm Tredinnick 3cfa3cbd07 Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py.
They are now called  "makemessages", "compilemessages" and "cleanup". This is
backwards incompatible for make-messages.py and compile-messages.py, although
the old executables still exist for now and print an error pointing the caller
to the right command to call.

This reduces the number of binaries and man pages Django needs to install.

Patch from Janis Leidel.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 06:39:44 +00:00
Malcolm Tredinnick c71686489b Fixed #7061 -- Fixed a small inaccuracy in the i18n docs. Thanks akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 04:08:13 +00:00
Malcolm Tredinnick 31b61d57d5 Fixed #7626 -- Fixed a typo in the newforms docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-05 02:34:37 +00:00
Jacob Kaplan-Moss 45404bea18 Fixed a few typos in upload handling docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-02 20:34:29 +00:00
James Bennett b0a38160ca Fix a small typo in docs/upload_handling.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 16:37:28 +00:00
Jacob Kaplan-Moss d725cc9734 Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.

This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 15:10:51 +00:00
Malcolm Tredinnick ef76102e89 Fixed #7185 -- Added a "ping_google" management command to
django.contrib.sitemaps. Thanks, Pete Shinners.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 12:25:59 +00:00
Malcolm Tredinnick a75de3f342 Changed a documentation example that wasn't wrong to stop complaints.
Fixed #7544.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 02:17:24 +00:00
Malcolm Tredinnick 4b93eed185 Fixed #4081 -- Allow empty content in flatpages.
Patch from ctrochalakis and Matt Croydon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 13:05:47 +00:00
Russell Keith-Magee 415bd694f9 Fixed #7521 -- Added the ability to customize ROOT_URLCONF for the duration of a TestCase. Thanks to Mark Fargas (telenieko) for his work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 12:34:29 +00:00
Malcolm Tredinnick 61898d8627 Fixed #6612 -- Updated Apache auth recipe for Apache 2.2. Thanks, trbs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 12:25:03 +00:00
Malcolm Tredinnick 6d5c868e86 Fixed #7543 -- Typo fix. Thanks, James Turnbull.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 06:42:50 +00:00
Malcolm Tredinnick 5da47e43c7 Fixed #7314 -- Changed the way extra() bits are handled when QuerySets are merged.
Also added a section to the documentation to indicate why it's probably not a
good idea to rely on this feature for complex stuff. Garbage in, garbage out
applies even to Django code.

Thanks to erik for the test case for this one.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 06:24:21 +00:00
Adrian Holovaty 82d09948ae Fixed #7482 -- Fixed an awkward wording in docs/model-api.txt. Thanks, cbmeeks <cbmeeks@gmail.com>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 05:21:29 +00:00
Adrian Holovaty 74f0408fa2 Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 04:54:10 +00:00
Adrian Holovaty 65437a95e1 Improved our tests so that they don't raise an error if setuptools isn't installed, hence ridding the test suite of all dependencies. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 04:25:40 +00:00
Adrian Holovaty 31ee551057 Various documentation edits
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 03:59:15 +00:00
Russell Keith-Magee dce557b9e7 Fixed #6891 -- Clarified modelform usage documentation. Thanks to Eric Holscher for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 12:57:11 +00:00
Russell Keith-Magee 5fc7dd7d28 Removed some cruft from the [7718] checkin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:26:12 +00:00
Russell Keith-Magee 5e4e04befb Fixed #7513 -- Added a note on the dependencies that need to be installed when running the Django system tests. Thanks to Peter Melvyn for the original report, and Ramiro Morales for the original draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:20:42 +00:00
Russell Keith-Magee d9c3e0a36a Fixed a minor typo in some sample SQL. Thanks for the report, Glen Jarvis <glenjarvis.com@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 04:43:05 +00:00
Luke Plant 5efb9652d7 Added docs about urls.py and testing views for contrib apps
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 17:18:58 +00:00
Luke Plant ddcf51a0ba Updated information about unit tests, contrib apps in particular.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 15:34:51 +00:00
Luke Plant 9cf3048b08 Fixed #3774 - primary_key=True does not, in fact, imply blank=False
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 12:10:13 +00:00
Russell Keith-Magee 090aeee399 Fixed #6719 -- Added a --traceback option to syncdb to provide a stack trace when custom SQL loading fails. Also added documentation for the --traceback option. Thanks to guettli for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 13:24:39 +00:00
Russell Keith-Magee a7f6faaa81 Fixed #7059 -- Added a note to the settings documentation reminding users that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 12:13:43 +00:00
Gary Wilson Jr f410de010d Refs #7216 -- Corrected typo, removed comma, trimmed trailing whitespace, and fixed reST link in [7678].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 15:46:59 +00:00
Russell Keith-Magee 6d242ccc63 Fixed #7216 -- Added a description on how to use named URLs with a permalink. Thanks, masklinn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:56:10 +00:00
Russell Keith-Magee cd0f7b9a39 Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:47:17 +00:00
Russell Keith-Magee c6f277f972 Fixed #7174 -- Corrected the default setting for TEMPLATE_LOADERS described in the settings docs. Thanks, pbx.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:37:31 +00:00
Russell Keith-Magee b3653db4f0 Fixed #7292 -- Removed reference to form_for_model in the form_preview docs. Thanks to programmerq for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:22:03 +00:00
Russell Keith-Magee e4fc327890 Fixed #7470 -- Corrected typo in template docs. Thanks to cbmeeks@gmail.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:19:08 +00:00
Adrian Holovaty 3859314d4a Fixed #6944 -- Fixed a small typo in docs/model-api.txt. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:04:24 +00:00
Adrian Holovaty 96b1d0f966 Fixed #6830 -- Changed the docs/tutorial01.txt reference to the IRC channel to lower the expectation slightly on how much help you'll receive
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:03:25 +00:00
Adrian Holovaty d339b2b65e Fixed #6777 -- Made some text in docs/sessions.txt into internal links. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:01:33 +00:00
Adrian Holovaty fbeec87b62 Fixed #6993 -- Fixed a grammar error in docs/templates.txt. Thanks, Ionut Ciocirlan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:38:43 +00:00
Adrian Holovaty 1b92483ae5 Fixed #6980 -- Removed duplicate stuff in docs/django-admin.txt. Thanks, Evan Jones
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:37:57 +00:00
Adrian Holovaty 167409e24e Fixed #6898 -- Fixed some typos in docs/templates_python.txt. Thanks, djoume
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:35:50 +00:00
Russell Keith-Magee 42668dcc79 Fixed some stale documentation that was advising against the use of OneToOneFields. Post queryset refactor, that warning is no longer required.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-14 14:19:28 +00:00
Russell Keith-Magee 363e46b22c Fixed #6320 -- Clarified a few issues in the contribution docs surrounding the triage process. Thanks to telenieko, Edgars Jekabsons and Marc Fargas for their input.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-14 13:44:49 +00:00
Russell Keith-Magee b9113ca81f Fixed #7327 -- Added documentation and test case for defining subqueries. Thanks, Sebastian Noack.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 13:19:37 +00:00
Adrian Holovaty 0fd41d63e2 Fixed #7194 -- Fixed typo in django-admin.txt. Thanks, jhlywa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:56:41 +00:00
Adrian Holovaty daab1f0681 Various documentation edits from the past few changesets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:36:48 +00:00
Russell Keith-Magee 9c50495464 Fixed #7254 -- Added an '--exclude' option to dumpdata, allowing specific applications to be removed from the dump output. Thanks to Carl Karsten for the idea and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-11 14:01:35 +00:00
James Bennett 5e202f5acf Fixed #7397: corrected order of command names in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-11 04:34:03 +00:00
Russell Keith-Magee 88a6fa5a07 Fixed some linking errors in the FAQ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-10 02:52:16 +00:00
Russell Keith-Magee 12716794db Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems:
* Serializers were including all superclass fields in their output. Now only local fields are included.
 * Implicit OneToOne primary keys were not correctly added to the metamodel, so they were always marked to be serialized, even though they were primary
 * Model saving was too aggressive about creating new parent class instances during deserialization. Raw save on a model now skips saving of the parent class.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-09 14:03:35 +00:00
Jacob Kaplan-Moss 1426c24517 Added a note about manage.py createsuperuser requiring django.contrib.auth. Thanks, Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 18:38:36 +00:00
James Bennett 8198bfecee Move "createsuperuser" docs down one slot to maintain alphabetical ordering of commands
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 07:24:00 +00:00
James Bennett 87c2423d34 Add documentation for the creatsuperuser target (added in [7590]) to doc/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 07:23:05 +00:00
Russell Keith-Magee 8df7ac93a1 Added some new entries to the FAQ regarding the mailing lists and reporting security issues.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 05:53:22 +00:00
Jacob Kaplan-Moss 5675ae4443 Fixed #5614: added 'manage.py createsuperuser'. Thanks, programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 05:31:16 +00:00
Jacob Kaplan-Moss 8d4f79a799 Fixed #2548: added get/set_expiry methods to session objects. Thanks, Amit Upadhyay and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 20:28:06 +00:00
Russell Keith-Magee 5b9d907ae8 Fixed #7382 -- Added a reference to Pisa HTML2PDF in the PDF output docs. Thanks for the suggestion, perenzo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 15:27:21 +00:00
Russell Keith-Magee 08401959d8 Fixed #7165 -- Added an assertNotContains() method to the test client. Thanks for the suggestion and implementation, J. Pablo Fernandez <pupeno@pupeno.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 13:50:02 +00:00
Russell Keith-Magee 812d8d40bd Fixed #7191 -- Removed leading slashes in description of the patterns that a URLconf checks when GET data is present. Thanks, andrews.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 12:02:11 +00:00
Russell Keith-Magee 6b39dd6977 Fixed #7260 -- Corrected the description of the exception returned by get() when multiple objects match the search criteria. Thanks, leotr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 11:56:32 +00:00
James Bennett bd73eaf952 Big glaring warning in docs/flatpages.txt to remind people how response middleware works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-28 20:31:03 +00:00
Russell Keith-Magee 331768681f Fixed #7300 -- Corrected description of YAML in the serialization docs. Thanks for the report, Allan Douglas <allandouglas@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-24 05:15:21 +00:00
Luke Plant 23e474510a Reverted mistaken r7545
r7545 was a mistake due to not accounting for r7078 
Thanks Ramiro Morales for catching this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-22 19:24:25 +00:00
Luke Plant 5b33adeafc Fixed documentation of 'description' option of Admin.fields to reflect actual behaviour
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-22 17:34:02 +00:00
Luke Plant 2411a92fad Fixed title underline length
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-17 00:05:13 +00:00
Luke Plant 8c9fceebb1 Added DEBUG_PROPAGATE_EXCEPTIONS setting that helps testing under e.g. twill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-16 23:24:36 +00:00
Adrian Holovaty 1dee309198 Added 'Setting headers' and 'Telling the browser to treat the response as a file attachment' sections to docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-30 00:03:45 +00:00
Malcolm Tredinnick a97f690e5d Added the ability to pickle and unpickle QuerySets and Query classes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28 14:14:41 +00:00
Adrian Holovaty 6d98636018 Edited some docs/db-api.txt changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28 00:59:09 +00:00
Malcolm Tredinnick f0bc9426b4 Made a bunch of spelling corrections.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 11:55:47 +00:00
Malcolm Tredinnick 9c52d56f6f Merged the queryset-refactor branch into trunk.
This is a big internal change, but mostly backwards compatible with existing
code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 02:50:16 +00:00
James Bennett aad5e791ea Fixed #6982; added an import statement to example in docs/modelforms.txt for the ModelForm class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 04:05:37 +00:00
Russell Keith-Magee bd3a1c0067 Fixed #6998 -- Corrected typo in Tutorial 4. Thanks, Peter Upfold.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 00:26:12 +00:00
James Bennett 1972f0522a Another typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:35:37 +00:00
James Bennett 25c0908ffd Fix a minor typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:28:50 +00:00
James Bennett 38d30e9691 Fixed #6927: Corrected documentation describing when and why the auth application creates default permissions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 13:35:12 +00:00
James Bennett 502f0c18b0 Remove an extraneous comma that I left behind in [7386], and clean up the wording a bit more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:23:54 +00:00
James Bennett b8110ed537 Clean up some awkwardness and confusion in the docs for ``ModelChoiceField``
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:21:50 +00:00
Gary Wilson Jr a3747f23be Fixed #6890 -- Removed duplicate instruction to rename the `polls/detail.htm` template in tutorial part 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 15:48:13 +00:00
Jacob Kaplan-Moss 4c3fcbc4bc [docs] OK, I give up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:14:57 +00:00
Jacob Kaplan-Moss 905b246dad [docs] And even more svn:keywords fooling. Sorry about the timeline spam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:13:05 +00:00
Jacob Kaplan-Moss 95665c403b [docs] Added svn:keywords to docs/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:05:40 +00:00
Jacob Kaplan-Moss 7dd4be581b Added the basics needed to build Django's docs using [http://sphinx.pocoo.org/ Sphinx]. If you've got Sphinx installed (the latest version) along with [http://docutils.sf.net docutils], you should be able to easily build the docs locally using {{{sphinx-build}}} or the included {{{Makefile}}}. This use a basic (and pretty crappy) index for the documentation and the built-in Sphinx styles (which are actually quite nice).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:03:52 +00:00
Jacob Kaplan-Moss d5cb46f412 Tiny reST fix to testing.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 14:15:00 +00:00
Malcolm Tredinnick c30a050e41 Removed the ado_mssql database backend.
It has not been maintained, contains bugs, and improved versions are available
externally(e.g. django-mssql and django-pyodbc at Google code).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-26 08:25:48 +00:00
Adrian Holovaty 0e552e5cd6 Edited some docs changes from the past few days
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25 04:42:21 +00:00
Malcolm Tredinnick a9a70bfe55 Fixed #6859 -- Greatly cleaned up the section on i18n pluralization in
Javascript. With new example code and everything! Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-24 13:35:27 +00:00
Malcolm Tredinnick 8f9e7035a9 Changed the indenting level on a couple of subsections, since they're not
children of the "pk lookup shortcut" section.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 12:44:34 +00:00
Malcolm Tredinnick c0537a961f Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de facto
standard header for detecting an XmlHttpRequest call. Thanks, Daniel Lindsley.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 07:16:16 +00:00
Malcolm Tredinnick b3b8422363 Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys
(via a callable). Also updates the documentation of the "default" attribute to
indicate a callable can be used. Thanks, Philipe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:56:23 +00:00
Malcolm Tredinnick 9e47cc2e51 Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes a
problem with the default on Windows). Thanks, Philippe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:43:58 +00:00
Malcolm Tredinnick 6417f5247b Merged the tests and documentation from #4720 to support the changes in [7295].
Thanks, Andy Gayton. Fixed #4720. Refs #5855.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:35:53 +00:00
Jacob Kaplan-Moss 649cdf907d Fixed #4620: you can now easily add custom labels to ModelChoiceFields via subclassing. Thanks, PhiR.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 23:10:45 +00:00
Jacob Kaplan-Moss 4457ba002d Fixed #5894: added FilePathField to newforms. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 22:29:11 +00:00
James Bennett 7d74376aab Fixed #6659: explained where "forloop.counter" comes from
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 23:38:59 +00:00
James Bennett 39b1f1dd80 Fixed #6245: Added note about watching Django development when using the development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 23:18:52 +00:00
James Bennett 33d7fbd82d Fixed #4783: Added a note that "admin media" means "media used by the admin app", and that ADMIN_MEDIA_PREFIX and MEDIA_URL should not be the same value.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 22:36:30 +00:00
Adrian Holovaty edb3381c7a Added docs/pagination.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 22:36:14 +00:00
Adrian Holovaty 6c06f8f10f Improved docs/generic_views.txt to note the new template context for the object_list generic view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 21:58:31 +00:00
James Bennett 855bc7b09d Fixed #6266: Added note to docs/modelforms.txt pointing out that they're just standard forms and have all the same methods as standard forms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 21:13:12 +00:00
James Bennett cc083724c1 Fixed #6382: Documented request.urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 20:58:39 +00:00
James Bennett 41d101e9ce Fixed #6541: Corrected documentation of how the admin chooses a default manager. Refs #6538.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:55:21 +00:00
James Bennett ebf3cdea73 Fixed #6759: Corrected example of get_db_prep_save() in docs/custom_model_fields.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:13:41 +00:00
James Bennett 57ddcdb0c8 Fixed #6683: corrected some typos in docs/newforms.txt. Thanks PJCrosier for the patch, and Atul Varma for spotting the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:02:24 +00:00
James Bennett df225aee18 Fixed #6166: Improved example of autoescaping with template inheritance. Based on a patch from PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 18:41:52 +00:00
James Bennett 75617ef69f Fixed #6120: First stab at documenting newforms field types which handle relationships.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 18:20:45 +00:00
Adrian Holovaty e5342282cc Edited docs/templates.txt changes from [7276]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 04:21:08 +00:00
Jacob Kaplan-Moss 8e14a4e6d7 Fixed #6351: added more examples to template filters. Thanks, David Tulig and atlithorn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 00:14:41 +00:00
Adrian Holovaty 5794111afa Fixed #6795 -- Added some translation info to docs/contributing.txt. Thanks, Karderio and vegpuff
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:29:10 +00:00
Adrian Holovaty ba3d5272b5 Added section to docs/form_wizard.txt about extra_context. Thanks, Honza
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:26:02 +00:00
Adrian Holovaty d0aa7c820b Fixed the inevitable ReST errors in docs/form_wizard.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:56:05 +00:00
Adrian Holovaty 642f42bf71 Added docs/form_wizard.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:53:20 +00:00
Gary Wilson Jr dd69bdcf94 Fixed #6455 -- Updated link to The Django Book in authentication docs, thanks ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-14 18:17:08 +00:00
Malcolm Tredinnick af5f07897c Added a "new in development version" marker that I randomly realised I'd forgotten.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-14 00:07:01 +00:00
Adrian Holovaty 2b8c2c49e7 Edited settings.txt and i18n.txt changes from [7185]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:26:08 +00:00
Adrian Holovaty b448b678e8 Fixed a typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:23:06 +00:00
Gary Wilson Jr 79abd052e7 Fixed #6753 -- Corrected typo in authentication docs, thanks piem@piem.org and PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-12 06:42:09 +00:00
Russell Keith-Magee cb4a018c35 Fixed #6757 -- Corrected typo in newforms docs. Thanks, Atul Varma <varmaa@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 23:09:44 +00:00
James Bennett a74299fb61 Another minor grammatical fix in docs/modelforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 06:49:36 +00:00
James Bennett 866d7fa961 Correct an example in docs/modelforms.txt, and fix some reST formatting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 06:40:50 +00:00
Adrian Holovaty a128ce785f Fixed #6742 -- Fixed numbering error in docs/flatpages.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 21:59:09 +00:00
Adrian Holovaty e3e2fb3ff0 Fixed #6716 -- Fixed typo in docs/faq.txt. Thanks, AdamG
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 19:41:21 +00:00
Adrian Holovaty 1f0de0312e Fixed #6740 -- Documented in docs/flatpage.txt that the flatpages app requires the sites framework. Thanks, mail@dirkmeister.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 19:40:31 +00:00
Gary Wilson Jr 444b7b2849 Fixed #6732 -- Added missing word "must" in `templates_python.txt` docs, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:19:52 +00:00
Malcolm Tredinnick c3d873fc3e Added a note that cleaned_data is new in the development release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06 17:10:04 +00:00
Gary Wilson Jr 6bc499f03c Fixed #6721 -- Fixed a typo in `templates_python.txt` documentation, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06 00:54:14 +00:00
Malcolm Tredinnick efed04b634 Fixed #5603 -- Allow customization of the language cookie name. Thanks, moe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-29 18:38:44 +00:00
Jacob Kaplan-Moss 00f0519859 Added documentation about the "app.Model" relation syntax introduced by [7185]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-26 21:18:34 +00:00
Malcolm Tredinnick 3eec925f73 Fixed a few errors in the documentation. Thanks, Matthew Flanagan, panni@fragstore.net and adamv.
Fixed #6411, #6426, #6524, #6555.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-18 23:43:12 +00:00
Malcolm Tredinnick d69f3ccfdb Fixed #6316 -- Updated FAQ link for one of our Python on Windows links.
Thanks, Marc Fargas.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-18 23:08:28 +00:00
Adrian Holovaty 8b3f36029f Made a bunch of small doc rewordings from changes over the past couple of weeks
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-16 05:15:09 +00:00
Malcolm Tredinnick d9a3c1b9fc Made a bunch of tiny documentation formatting and typo fixes.
Thanks, quicklizard, adamv, Gary Wilson, superjudge and David Pretty.

Fixed #6554, #6573 ,#6592, #6595, #6608.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-15 11:38:53 +00:00
Malcolm Tredinnick 1159791cd5 Modified [7112] to make things behave more in line with Python subclassing when subclassing ModelForms.
Meta can now be subclassed and changes on the child model affect the fields
list. Also removed a block of error checking, since it's harder to mess up in
unexpected ways now (e.g. you can't change the model and get the entirely wrong
fields list), so it was a level of overkill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 17:38:05 +00:00
Malcolm Tredinnick 37962ecea7 Fixed #6337. Refs #3632 -- Fixed ModelForms subclassing, to the extent that it can be made to work.
This ended up being an almost complete rewrite of ModelForms.__new__, but
should be backwards compatible (although the text of one error message has
changed, which is only user visible and only if you pass in invalid code).

Documentation updated, also.

This started out as a patch from semenov (many thanks!), but by the time all
the problems were hammered out, little of the original was left. Still, it was
a good starting point.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 12:56:49 +00:00
Russell Keith-Magee 5078010a31 Fixed #6600 -- Corrected typos in contenttype documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 05:26:52 +00:00
Malcolm Tredinnick 7d7119897c Updated the documentation for patterns() to note Python's 255 argument limit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 04:54:03 +00:00
Russell Keith-Magee ad23fff759 Fixed #6597 -- Corrected spelling mistake. Thanks for the report, Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-13 23:17:55 +00:00
Malcolm Tredinnick 6674718213 Fixed #6278 -- Documented that the 404 template is passed a RequestContext and the 500 handler is not. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-04 01:48:53 +00:00
Malcolm Tredinnick c03b5c1091 Fixed #6224 -- Small doc fixed for Argentinean localflavor. Thanks, Ramiro
Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03 04:44:00 +00:00
Malcolm Tredinnick 6183e0cb20 Clarified that filter arguments are passed as a single string to the translation support. Refs #6326.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03 01:49:34 +00:00
Gary Wilson Jr 0e81ad4e66 Refs #5474 -- Removed a hyperlink target that ended up not getting used in [6234].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-31 22:51:22 +00:00
Gary Wilson Jr d3d5861ac2 Fixed #6502 -- Documented `context_instance` argument of `render_to_response`, thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-31 22:49:14 +00:00
Gary Wilson Jr 3fd5b5d6a8 Fixed #6265 -- Added an example of overriding a form field's default widget in the modelforms docs, based on patch from programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28 03:12:28 +00:00
Gary Wilson Jr b24ad9a06b In the modelforms docs, made the "Field types" text a link to the section.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28 02:56:35 +00:00
Gary Wilson Jr fab7535806 In the modelforms docs, made the "Overriding the default field types" text a link to the section.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28 02:51:40 +00:00
Gary Wilson Jr 93c8e94bd6 Fixed another typo in templates docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 19:07:14 +00:00
Gary Wilson Jr 7cbbada662 Fixed typo in templates docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 18:50:59 +00:00
Gary Wilson Jr ff0ccc611f Fixed #6360 -- Updates to the distributions docs for Ubuntu and Gentoo, thanks tvrg.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 03:38:22 +00:00
Gary Wilson Jr 9d18adde00 Fixed #6367 -- Fixed link to zen of Python, thanks N00ne and dtulig.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 02:14:21 +00:00
Malcolm Tredinnick 3760e7a1e0 Fixed #6345 -- Django supports week numbers all the way up to 53, not just 23.
Thanks, djoume.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-09 07:32:05 +00:00
Malcolm Tredinnick f0b14067db Fixed #6331 -- Fixed some typos in shortcuts.txt. Thanks, Herbert Poul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-09 07:19:56 +00:00
Malcolm Tredinnick 421b03af2c Fixed #6341 -- Added missing link for text introduced in [6946].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-09 06:52:42 +00:00
Gary Wilson Jr 8775c17930 Fixed #6330 -- Fixed reST error in templates documentation, thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-06 22:09:16 +00:00
Malcolm Tredinnick a7da12d320 Fixed #5567 -- Added a "last" filter. Based on a patch from darkpixel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-06 03:53:33 +00:00
Adrian Holovaty f6336737a0 Fixed #6291 -- Fixed error in CASocialInsuranceNumberField documentation and error message. Thanks, jeff+django@ivany.org and arien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:23:21 +00:00
Adrian Holovaty aa728422bc Fixed #6247 -- Added CsrfMiddleware to docs/middleware.txt. Thanks, Uninen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:13:46 +00:00
Adrian Holovaty 8bb07998ca Fixed #6252 -- Clarified the --settings option in docs/django-admin.txt. Thanks, whiskybar
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:08:25 +00:00
Adrian Holovaty 8abd63f450 Fixed #6287 -- Fixed typos in docs/sites.txt. Thanks, arien and Horst Gutmann
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:01:54 +00:00
Adrian Holovaty 0a348bb269 Fixed #6249 -- Fixed error in docs/syndication_feeds.txt example. Thanks, darugar
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-21 03:16:03 +00:00
Adrian Holovaty 6e94b56044 Edited docs/testing.txt changes from [6929]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 04:09:19 +00:00
Adrian Holovaty 76f3856039 Edited docs/middleware.txt changes from [6852]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:55:10 +00:00
Adrian Holovaty 48a5898f24 Edited docs/localflavor.txt changes from [6849]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:52:13 +00:00
Adrian Holovaty 81b9b7fb55 Added note to docs/form_for_model.txt (from [6844]) explaining this is deprecated in favor of ModelForms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:39:21 +00:00
Adrian Holovaty fde7e1c861 Added 'New in Django development version' note to docs/sessions.txt setdefault() change from [6831]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:29:16 +00:00
Malcolm Tredinnick 133aa5eb4b Fixed #6119 -- Documented HttpRequest.get_host(). Thanks, PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 12:50:06 +00:00
Malcolm Tredinnick 24cb41b8c7 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 11:11:34 +00:00
Malcolm Tredinnick 3edf2ebd94 Fixed #6155 -- Fixed dumpdata to work with the default model manager (necessary
for the rare cases when the 'objects' manager might not even exist). Based on
a  patch from Michael Trier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 09:09:08 +00:00
Malcolm Tredinnick 06482d4aa4 Fixed #6136 -- Updated the localflavor documentation. Patch from Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 08:58:29 +00:00
Malcolm Tredinnick 14ed0efec9 Fixed #6134 -- Allow an on-disk SQLite database to be used for tests, if required. Patch from jdetaeye.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 08:50:50 +00:00
Malcolm Tredinnick 8ecff6b91c Split up the documentation of the test database and the test output.
Refs #6134.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 08:50:32 +00:00
Malcolm Tredinnick 4d7aa81a70 Fixed #5561 -- Added link to the contenttypes documentation into the add_ons document. Pointed out by Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 07:39:24 +00:00
Malcolm Tredinnick 54457043ad Fixed #6174 -- Documentation fix for [6912]. Pointed out by Russell Cloran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 07:01:17 +00:00
Malcolm Tredinnick 5d6f91e415 Small typo fixes. Thanks, jdetaeye, Ionut Ciocirlan, David Reynolds and adamv.
Fixed #6123, #6133, #6179, #6194.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 06:59:01 +00:00
Joseph Kocherhans e415eff0ea Fixed #6162. ModelForm's __init__ signature now matches Form's. This is a backwards incompatbile change. Based largely on a patch by ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-13 02:48:04 +00:00
Gary Wilson Jr f9410dc40d Fixed #6151 -- Added some code formatting to the `floatformat` template filter doc section. Thanks, adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-11 06:55:25 +00:00
Gary Wilson Jr 8540731dc4 Fixed #6164 -- `field.label_tag` already displays the label so don't display it again. Thanks, arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-11 04:44:48 +00:00
Malcolm Tredinnick b3c01b389c Tweaked the custom field documentation so that people reading about to_python() get a big hint to look at the SubfieldBase metaclass.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-09 08:10:09 +00:00
Jacob Kaplan-Moss b65fce6595 Fixed #4131: added an "escapejs" filter for use in JavaScript strings, and updated the documentation on addslashes to point to the new ticket. Featuring contributions from Ned Batchelder, Jeremy Dunck, and Andy Durdin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 21:08:29 +00:00
Adrian Holovaty 803b95c6a4 Edited docs/request_response.txt changes from [6808]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:16:28 +00:00
Adrian Holovaty 5d7a18bd2e Edited docs/authentication.txt changes from [6805]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:14:45 +00:00
Adrian Holovaty e5e75b0c52 Edited various doc changes from [6801]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:13:56 +00:00
Adrian Holovaty 166aa3ec46 Edited docs/contributing.txt changes from [6795]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:10:51 +00:00
Adrian Holovaty 140e60e540 Edited docs/install.txt changes from [6794]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:07:44 +00:00
Adrian Holovaty ece222ade5 Edited docs/add_ons.txt changes from [6788]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:05:28 +00:00
Adrian Holovaty b34b1a89b2 Removed some 'behaviour's from the docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:01:00 +00:00
Adrian Holovaty 3c654625f1 Edited docs/syndication_feeds.txt changes from [6741]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 05:58:43 +00:00
Joseph Kocherhans ed74763750 Fixed #6114. Fixed a typo in the modelforms docs. Thanks, Martin Conte Mac Donell.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-03 16:18:23 +00:00
Malcolm Tredinnick 1f629bff99 Fixed #3228 -- Added new APPEND_SLASH handling behaviour in the common middleware. Makes customisation a bit easier. Thanks, Mihai Preda and Andy Gayton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 23:25:55 +00:00
Malcolm Tredinnick cb350d72ab Fixed #3883 -- Added initial localflavor documentation. Thanks, Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 20:57:53 +00:00
Joseph Kocherhans ab75953bbb Fixed in typo in modelforms docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 20:43:38 +00:00
Malcolm Tredinnick 51dc4ecf94 Fixed #6042 -- ModelForms implementation from Joseph Kocherhans. Still might
need a little tweaking as people start to use it, but this is mostly complete.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 19:29:54 +00:00
Malcolm Tredinnick 805c364fcf Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 18:21:07 +00:00
Malcolm Tredinnick 9075ac4b76 Fixed #685 -- archive_index() and object_list() generic views allow empty
result sets by default now. Thanks, Gary Wilson and Matt Croydon.

This is a backwards incompatible change.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:43:35 +00:00
Malcolm Tredinnick 81832f594d Fixed #5743 -- Tweaked the exceptions raised when importing settings so that we
cooperate with Python's standard help() function. Patch from ionut_bizau and
Ben Slavin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:27:44 +00:00
Malcolm Tredinnick 49da9ab57e Fixed #6087 -- Added setdefault() support to the Session object. Thanks, Ben
Slavin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:27:29 +00:00
Malcolm Tredinnick f610269006 Fixed #6070 -- Fixed the documentation about running Django's core tests, since SITE_ID is no longer required (it was removed in [6814]). Thanks, beorn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:17:21 +00:00
Malcolm Tredinnick 04a20c0226 Fixed #6097 -- Fixed some broken RST markup. Thanks, Simeon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:03:36 +00:00
Malcolm Tredinnick 0c1ba467ae Documented that the simple cache backend was deprecated in [6822].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 04:54:34 +00:00
James Bennett b6a6f665cc img/doc/tutorial -> img/doc/tutorial-trunk in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 22:36:45 +00:00
James Bennett 6875fd6389 Fixed #3483: Documented AUTH_PROFILE_MODULE and custom user profiles
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:45:05 +00:00
James Bennett b063bbc838 Correcting some awkward wording/spelling in docs/request_response.txt while I'm in there
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:12:44 +00:00
James Bennett 7fbe014197 Fixed #5550: Documented the context used by the default view for 404 and 500 errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:11:55 +00:00
James Bennett f3d5372340 Fixed #5860: Documented the correct order in which the syndication framework tries methods for generating item links.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:08:45 +00:00
James Bennett 1087dc31fb Fixed #4819: documented the need to call authenticate() before login(), based on a patch from Davd Krauth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:52:53 +00:00
Adrian Holovaty 0e464d5d5c Edited docs/newforms.txt changes from [6740]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:31:53 +00:00
Adrian Holovaty 5e06c129c6 Edited docs/newforms.txt changes from [6733]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:26:51 +00:00
Ian Kelly bbc3a95557 Fixed #6007: Added DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE
options to global_settings.py


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:23:49 +00:00
Adrian Holovaty 4a3084f3fc Edited templates.txt and templates_python.txt auto-escaping changes from [6671]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 18:38:12 +00:00
Malcolm Tredinnick 32e0852fa0 Documented the new Someday/Maybe triage status.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 18:10:10 +00:00
James Bennett 5f49d67427 Fixed #5776: Added an explanation of when and why Django might need ALTER TABLE privileges to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:44:59 +00:00
Adrian Holovaty b3b8a2e9b3 Edited docs/custom_model_fields.txt from [6652]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:29:45 +00:00
James Bennett 0aa26dacac Fixed #6079: Added AUTHENTICATION_BACKENDS to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:27:44 +00:00
James Bennett 56b1b7d30b Fixed #5870: documented the "fail_silently" argument to EmailMessage.send().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:20:19 +00:00
James Bennett 14da40f545 Correct a typo in [6788]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:10:12 +00:00
James Bennett aa8febb3f1 Fixed #5940: added sessions and webdesign cross-references to docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:07:32 +00:00
Adrian Holovaty a73588aa58 Edited docs/serialization.txt changes from [6645]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 16:58:52 +00:00
Adrian Holovaty e7bc0f10ac Edited docs/newforms.txt changes from [6625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 16:52:49 +00:00
Adrian Holovaty 275cffaab1 Edited docs/cache.txt changes from [6580], removing a gross exclamation point usage in the process
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:34:04 +00:00
Adrian Holovaty 9e762f4407 Edited docs and docstring changes from [6572] (new cache add() method)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:30:43 +00:00
Adrian Holovaty 7ea174ef14 Edited docs/syndication_feeds.txt changes from [6570]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:27:49 +00:00
Adrian Holovaty 85acb388ee Edited docs/settings.txt changes from [6545]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:22:35 +00:00
Adrian Holovaty a1476fbca2 Edited docs/modpython.txt changes from [6536]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:20:27 +00:00
Adrian Holovaty bfa742b6ea Edited docs/templates.txt changes from [6533]. Let's not smash people over the head with an only marginally important piece of information in the very first paragraph of the document.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:18:57 +00:00
Adrian Holovaty e0e084e017 Edited docs/newforms.txt changes from [6532]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:16:51 +00:00
Adrian Holovaty 71dd90b25d Edited docs/unicode.txt change from [6463] -- Americanized 'behavior'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:09:49 +00:00
Adrian Holovaty 53a5fa9928 Small edit to docs/i18n.txt from [6461]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:08:26 +00:00
Adrian Holovaty efc1ff2004 Edited docs/databases.txt Oracle changes from [6432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:03:32 +00:00
Malcolm Tredinnick 8f97d96238 Fixed #6046 -- Correct an obvious blunder in setting the PYTHONPATH. Pointed
out by Richard Worth.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 20:09:48 +00:00
Malcolm Tredinnick 0cae3d55b6 Fixed #6006 -- Typo fixing in the description of verbosity. Pointed out by
NorbertK.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 19:30:42 +00:00
Malcolm Tredinnick e2b03bd0c2 Fixed #5955 -- Made a bunch of ReST fixes. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 18:15:38 +00:00
Malcolm Tredinnick f86e54e3b0 Added better error handling in the basic feed class example. Refs #5855
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 17:41:35 +00:00
Malcolm Tredinnick d94ed44c5d Fixed #5854 -- Added an example to the newforms documentation showing how to
highlight required fields (which should also provide enough clues for
accessing other attributes on newforms.Field subclasses. Thanks,
christobzr@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 17:30:01 +00:00
Malcolm Tredinnick 5cd153b7c8 Fixed #5777 -- Recommend using a symbolic link on Linux, OSX, etc for
django-admin.py so that subversion updates keep it up to date. Patch from arien.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:57:20 +00:00
Malcolm Tredinnick f2f6e70b08 Fixed #5813 -- Taught the CacheMiddleware to respect any max-age HTTP header
when setting the expiry time. Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:57:18 +00:00
Malcolm Tredinnick d0f5a58fbd Fixed #4653 -- Improved the logic to decide when to include (and select as
initial value) the blank choice for a model field with choices. Thanks to
Ilya Semenov for persisting with this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:32:18 +00:00
Gary Wilson Jr 1607acee40 Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and removed some code that was checking for its existance in settings before accessing it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 05:59:58 +00:00
Gary Wilson Jr 331d4bba97 Fixed link to settings documentation in the i18n docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 04:36:09 +00:00
Malcolm Tredinnick 86ca11dd6d Rewrote the section about writing autoescaping-aware filters, based on feedback
from Ivan Sagalaev.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-18 07:19:11 +00:00
Malcolm Tredinnick 0928fa5566 Fixed #5945 -- Treat string literals in template filter arguments as safe
strings for auto-escaping purposes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-17 12:11:26 +00:00
Malcolm Tredinnick d0f3c4386e Fixed #5898 -- Updated docs for r6662, as pointed out by arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15 09:26:57 +00:00
Malcolm Tredinnick 84c1e78551 Fixed #5892, #5930 -- Fixed some typos pointed out by ars@iki.fi and nickl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15 09:21:36 +00:00
Malcolm Tredinnick 3322521cd6 Documented the time-saver in flatpages: title and content are marked as safe
strings.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 21:30:18 +00:00
Malcolm Tredinnick bdb0b903c2 Content coming via {{ block.super }} is always going to be correctly escaped
already. We mark it as safe so that template authors don't need to.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 21:07:27 +00:00
Malcolm Tredinnick 356662cf74 Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359
See documentation in templates.txt and templates_python.txt for how everything
works.

Backwards incompatible if you're inserting raw HTML output via template variables.

Based on an original design from Simon Willison and with debugging help from Michael Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 12:58:53 +00:00
Malcolm Tredinnick af256a02f9 Fixed #5890 -- Fixed a ReST markup error. Thanks, arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-11 04:44:11 +00:00
Malcolm Tredinnick 8216abe748 Documentation for creating custom model fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-05 13:59:52 +00:00
Gary Wilson Jr 6f7fd897bc Added pretty tables for `floatformat` documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 02:48:44 +00:00
Malcolm Tredinnick 75efa2811d Fixed #5868 -- Provided an example of how to extend simplejson to serialize
lazy translation objects for those who want to use it directly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 02:08:24 +00:00
Gary Wilson Jr 0e59bf42cf Fixed #5869 -- Corrected documentation for `now` template tag's "r" format character. Thanks, xavier.morel@masklinn.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 01:14:58 +00:00
Gary Wilson Jr 39f28512b9 Fixed #5842 -- Marked cache template tag as "New in development version", thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-31 01:46:32 +00:00
Gary Wilson Jr 0709c23046 Fixed #5832 -- Removed unneeded import in testing documentation, thanks Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 23:00:57 +00:00
Gary Wilson Jr 9a30ed5cd5 Fixed #5834 -- Fixed import in `formtools` documentation, thanks telenieko.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:57:46 +00:00
Gary Wilson Jr b237537e00 Changed name of `PythonInterpreter` so as not to get confused with the use of `DJANGO_SETTINGS_MODULE mysite.other_settings`
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:50:42 +00:00
Gary Wilson Jr ff2cb88325 Fixed #5838 -- Fixed typo in email documentation, thanks huddlej@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:35:15 +00:00
Gary Wilson Jr 26ea06b0ab Fixed #3457 -- Allow overridding of error messages for newforms Fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-28 05:40:26 +00:00
Adrian Holovaty cb6ecfe9d6 Edited docs/django-admin.txt changes from [6400]. (I'm behind on editing!)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-23 19:11:15 +00:00
Malcolm Tredinnick 0a4e4d5993 Tweaked the caching docs to be consistent about the format for database caches
(and fixed a formatting error).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 19:10:10 +00:00
Malcolm Tredinnick 6fbf653aa5 Fixed #1065 -- Added a "cache" template tag. Thanks, Ian Maurer and, particularly, Nick Lane.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 15:48:40 +00:00
Malcolm Tredinnick 1671fc48ab Changed the default form presentation of datetime values to not include the
fractional second values (they usually aren't going to be needed). Based on
patches from yi.codeplayer@gmail.com, andrews and Wiliam Alves de Souza. Fixed #4428, #4487


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 14:50:47 +00:00
Malcolm Tredinnick d79c6a0125 Fixed #5013 -- Corrected the documentation about which how further middleware
processing is done after request or view middleware returns something. Thanks,
Jason Yan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 12:24:37 +00:00
Malcolm Tredinnick 4c3586582d Fixed #4493 -- Noted that the LocaleMiddleware's placement w.r.t
CacheMiddleware is important. Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 12:12:45 +00:00
Malcolm Tredinnick 714c09b8bd Fixed #4831 -- Added an "add" cache key method, for parity with memcached's
API. This works for all cache backends. Patch from Matt McClanahan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 15:16:34 +00:00
Malcolm Tredinnick b678601df3 Fixed #4123 -- Changed the firstof template tag to correctly handle a literal
string as its last argument. Thanks, Wesley Fok and Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 15:01:31 +00:00
Malcolm Tredinnick 8a3cf46e60 Fixed #3502 -- Added TTL support for RSS (not Atom) feeds. Patch from
jason.sidabras@gmail.com and Thomas Kerpe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 14:54:38 +00:00
Malcolm Tredinnick d1efe9b2f7 Fixed #4944 -- Added a note about Model.save() raising IntegrityError is a
'unique' constraint is violated. Patch from PhiR.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:35:10 +00:00
Malcolm Tredinnick 3742e35df3 Updated the new default value for BooleanFields, clarified the behaviour of
'required' for those fields and updated the examples to use required=False so
that people get the hint. Refs #5104.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:21:16 +00:00
Malcolm Tredinnick 22ee68961a Added a section to the template documentation to clarify the arbitrary Python
code should not be expected to work. The might help balance expectations.
Thanks, James Bennett. Fixed #5125.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 11:05:15 +00:00
Malcolm Tredinnick c858efe912 Fixed #5512 -- Added a note about a common MySQLdb upgrade problem. Thanks,
Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:47:57 +00:00
Malcolm Tredinnick 233d76cf25 Fixed #5601 -- Point out the existence of pep8.py for people wanting some extra
help checking for consistency. Thanks, simeon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:41:56 +00:00
Malcolm Tredinnick 2f17153c02 Fixed #5637 -- Clarified that nothing extra is required when using SQLite and
Python 2.5. Based on a patch from Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:37:32 +00:00
Malcolm Tredinnick aa320700d2 Added "new in development version" marker for [6545].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 06:30:44 +00:00
Malcolm Tredinnick e172e7be57 Fixed #4724 -- Added support for configurable session cookie paths. Helps with
multiple Django installs under the same hostname. Thanks, frej and Graham
Dumpleton.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 05:13:56 +00:00
Malcolm Tredinnick 3ea87fb9c0 Fixed #5782 -- Fixed a small typo spotted by obeattie.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:16:40 +00:00
Malcolm Tredinnick ad91f6889d Fixed #4854 -- Recommended the use of forward slashes even in Windows configuration, to avoid having to worry about double-escaping issues. Based on a patch from adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:21:51 +00:00
Matt Boersma 50b824d2b1 Fixed #5633, refs #5626: Change "Max OS X" to "Mac OS X" in tutorial01.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 15:43:45 +00:00
Malcolm Tredinnick 3375ed1128 Added default value for LOCALE_PATHS from [6530].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 06:53:30 +00:00
Gary Wilson Jr 40f1c923e2 Fixed #5658 -- Added a note to the top of the "for template authors" template documentation that states the scope of the document, along with a link to the "for Python programmers" documentation. Removed the link to the "for Python programmers" documentation at the bottom since it would be redundant.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 05:07:47 +00:00
Gary Wilson Jr 5c8b26df15 Fixed #5666 -- Documented the `prefix` keyword argument for newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 04:47:07 +00:00
Gary Wilson Jr a1723aba3b Fixed #5747 -- Added missing file extension in flatpage documentation. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:20:15 +00:00
Gary Wilson Jr 433cbba512 Fixed #5750 -- Documented `LOCALE_PATHS` setting, with a link to the internationalization documentation. Thanks, jdetaeye and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:18:15 +00:00
Russell Keith-Magee b053177555 Fixed #5723 -- Fixed typo in request response docs. Thanks, derelm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-10 02:20:32 +00:00
Malcolm Tredinnick 381453da91 Documented the strings_only param to smart_unicode() and force_unicode().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:32 +00:00
Malcolm Tredinnick 7ab381972e Fixed an RST formatting typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:27 +00:00
Malcolm Tredinnick a0102fccfd Fixed the note about charset encoding in PO files. It must be UTF-8 since [5708].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:22 +00:00
Adrian Holovaty 0397e63a19 Corrected broken link to newforms unit tests in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 22:50:06 +00:00
Ian Kelly dad9bae585 Fixed #5656: Added a note about needing CREATE TRIGGER privileges
to run syncdb under Oracle. Thanks, jbronn.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-02 15:26:39 +00:00
Ian Kelly 632a424db7 Added a link in install.txt to the Oracle backend notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 19:35:50 +00:00
Ian Kelly e70ecc93ff Fixed #5627: Added documentation and caveats about using the oracle
backend.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 19:25:50 +00:00
James Bennett 4b4ecb6d66 Fixed #5615: Corrected a typo in docs/email.txt. Thanks, raprasad@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 03:07:36 +00:00
Russell Keith-Magee 4edecaeae9 Fixed #2603 -- Fixed a typo and added a helpful example reference to the generic view pagination docs. Thanks, Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23 06:18:49 +00:00
Russell Keith-Magee 4d30be23dc Fixed #5364 -- Clarified the warning regarding saving form_for_model forms with missing fields. Thanks to PhilR for the initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23 05:59:12 +00:00
James Bennett 694323ec74 Fixed #5565: Corrected small reST error in docs/db-apit.txt. Thanks, gkelly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-22 04:58:26 +00:00
Russell Keith-Magee 302eeaf190 Fixed #5516 -- Added the ability for applications to define their own management commands. Pieces of this patch taken from a contribution by Todd O'Bryan. Thanks Todd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 16:19:20 +00:00
Jacob Kaplan-Moss 2570954a9a Fixed #3453: introduced a new template variable resolution system by Brian Harring (thanks!). The upshot is that variable resolution is about 25% faster, and you should see a measurable performance increase any time you've got long or deeply nested loops.
Variable resolution has changed behind the scenes -- see the note in templates_python.txt -- but template.resolve_variable() still exists. This should be fully backwards-compatible.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 04:00:32 +00:00
Russell Keith-Magee 75e462099b Fixed #5556 - Minor typo in settings docs. Thanks for the eagle eyes, jleedev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 23:56:54 +00:00
Gary Wilson Jr 2fea878213 Made the links to settings consistent with the others by not including the word "setting" in the link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 07:19:10 +00:00
Gary Wilson Jr bf6effdfaf Fixed #5148 -- Added link to `DEFAULT_FROM_EMAIL` setting in email documentation. Thanks, mcroydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 07:13:32 +00:00
Adrian Holovaty 24588afe6d Fixed #5525 -- Fixed typo in docs/request_response.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 02:02:54 +00:00
Russell Keith-Magee 6306400102 Fixed #5544 -- Fixed another typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 02:02:21 +00:00
Adrian Holovaty 31a07e8cf9 Fixed errors in docs/model-api.txt changes from [6378]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 01:48:47 +00:00
Jacob Kaplan-Moss 980fa8b827 Fixed #231: all fields that should take max_length now do. Thanks, Don Spaulding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:33:57 +00:00
Russell Keith-Magee d022e2581d Fixed #5544 -- Fixed typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:32:53 +00:00
Adrian Holovaty 5c55cc83a7 Made some small edits to docs/authentication.txt changes from [6375]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 20:54:46 +00:00
Jacob Kaplan-Moss f857e37776 Fixed $5457 - the auth system now delegates permission checking to auth backend(s). As an added bonus, the auth backends now have some unit tests! Thanks, Florian Apolloner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 16:50:30 +00:00
Gary Wilson Jr 66203fc9ee Fixed #2675 -- Changed the `timeuntil` and `timesince` template filters to display "0 minutes" when passed a past or future date respectively instead of "-1 years, 12 months". Thanks to nickefford for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-17 04:50:12 +00:00
Adrian Holovaty 4541a4d3a9 FIxed #5376 -- Fixed typo in testserver docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 16:01:25 +00:00
Matt Boersma cb02d34376 Fixed fat-finger typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 15:57:15 +00:00
Matt Boersma da903a3be4 Updated Oracle python drivers link to atuining's new SF site.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 15:56:19 +00:00
Malcolm Tredinnick c012b8964e Fixed #4067 -- Fixed validation of IPAddressFields in newforms. Thanks to neils and the team in the Copenhagen sprint group.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 11:38:32 +00:00
Malcolm Tredinnick 748e55b1da Fixed #4975 -- Allow the default label suffix character to be configured. Thanks, Vincent Foley.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 04:38:20 +00:00
James Bennett 23f95c9dfa Fixed #5503 -- corrected a small typo in email example. Thanks, trey@ktrl.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 03:57:33 +00:00
Malcolm Tredinnick 8ccf2028c2 Fixed #3955 -- Added the ability to traverse LOCALE_PATHS when compiling PO files. Thanks, semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 03:17:48 +00:00
James Bennett d0f4e52abf Fix a couple of typos from [6309]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 02:01:06 +00:00
Malcolm Tredinnick e2409750f8 Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and jeromie@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 01:57:25 +00:00
Adrian Holovaty 1de4bf0b66 Edited docs/settings.txt changes from [6316]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:39:51 +00:00
Adrian Holovaty b448593432 Edited docs/sessions.txt changes from [6333]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:36:53 +00:00
Adrian Holovaty c079d52fe7 Small wording fix in docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:36:43 +00:00
Jacob Kaplan-Moss bcf7e9a9fe Fixed #2066: session data can now be stored in the cache or on the filesystem. This should be fully backwards-compatible (the database cache store is still the default). A big thanks to John D'Agostino for the bulk of this code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:29:14 +00:00
Jacob Kaplan-Moss 07447a0f56 Fixed #5454: settings.DATABASE_BACKEND may now refer to an external package (i.e. one located outside the Django source. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 19:25:20 +00:00
Jacob Kaplan-Moss 201a6cc192 One more tweak to [6309] - sorry for the noise.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:56:18 +00:00
Jacob Kaplan-Moss 8a48d490a1 Small reST tweak to [6309].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:54:31 +00:00
Jacob Kaplan-Moss fc478a0fe8 Fixed #4437: added notes to the modpython auth handler documentation about using the handler with Apache 2.2. Thanks to Paul Bissex for the beginnings of the patch, and Graham Dumpleton for the rest of the info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:52:29 +00:00
Adrian Holovaty 41e622e170 Fixed #5284 -- Documented never_cache decorator. Thanks, xbito
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:43:49 +00:00
Adrian Holovaty d3c2dd30d6 Fixed #5484 -- Documented render_to_string. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:39:44 +00:00
Adrian Holovaty 0639474d01 Fixed #5449 -- Noted in docs/model-api.txt that the admin date selection always starts on a Sunday. Thanks, flother
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:33:03 +00:00
Adrian Holovaty fb288d9557 Fixed #5275 -- Documented QuerySet.iterator(). Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:31:50 +00:00
Adrian Holovaty e90eb41a4a Fixed #4234 -- Added docs/contenttypes. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:29:09 +00:00
Malcolm Tredinnick 388182b622 Fixed #3032 -- Added some useful methods and attributes so that AnonymousUser can proxy for a User a bit more logically. Patch from semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:01:29 +00:00
Adrian Holovaty bf3c1cf7bf Fixed #4888 -- Fixed small confusion in docs/authentication.txt. Thanks, Piotr Lewandowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:48:59 +00:00
Adrian Holovaty 061ed82b22 Fixed #5430 -- Improved docs for running Django's own unit tests in docs/contributing.txt. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:44:14 +00:00
Adrian Holovaty b7e90a0abd Fixed #5495 -- Made some organization / spelling / grammar changes to docs/i18n.txt. Thanks, Axis_of_Entropy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:32:53 +00:00
Adrian Holovaty 7b172de6fa Fixed #5267 -- Documented that order_by('?') queries can be slow
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:30:23 +00:00
Adrian Holovaty 951ecbf7e6 Edited docs/newforms.txt changes from [6273]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 15:17:18 +00:00
Malcolm Tredinnick 8e970f4835 Fixed #5492 -- Removed some bad markup. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 14:46:41 +00:00
Russell Keith-Magee ff25059ffb Fixed #5357 -- Added documentation on the 'page' argument to generic object_list views. Thanks, mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 11:19:35 +00:00
Malcolm Tredinnick f0cd172cd0 Fixed #5387 -- Added is_multipart method to forms. Original patch from Petr Marhhoun. Tests and documentation from Murkt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:12:05 +00:00
Malcolm Tredinnick 32ed883861 Fixed #5489 -- Updated docs to reflect the changes in [6177]. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:11:26 +00:00
Malcolm Tredinnick 8a17181b58 Fixed #5477 -- Added links from the markup filters to the more extensive documentation in the add-ons file. Patch from mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 09:51:57 +00:00
Adrian Holovaty 16906ea793 Fixed #5024 -- Fixed potential error in docs/databases.txt related to MySQL 'passwd'. Thanks, ispivey@gmail.com and ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 05:00:21 +00:00
Adrian Holovaty a604896042 Fixed #4692 -- Documented required database privileges. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:58:41 +00:00
Adrian Holovaty 4ed5eafe87 Fixed #5482 -- Fixed ReST error in docs/generic_views.txt. Thanks, ubernostrum and nickefford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:53:35 +00:00
Adrian Holovaty bdba94d78f Fixed #5264 -- Specified Flup version in docs/fastcgi.txt. Thanks, akaihola and Nis Jorgensen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:30:15 +00:00
James Bennett ce53de47a2 Correcting inadvertent typo from [6224]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 01:02:45 +00:00
Adrian Holovaty 92e55fe8b1 Fixed #5432 -- Added docs/form_preview.txt. Thanks, ryankanno
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:15:40 +00:00
Adrian Holovaty 71796410ba Fixed #5474 -- Improved docs/shortcuts.txt. Thanks, minarets and EyePulp
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:33:06 +00:00
Adrian Holovaty 8cf9a6d64b Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:48:50 +00:00
Adrian Holovaty cadc6e8c9f Fixed #4658 -- Improved documentation of linebreaks and linebreaksbr. Thanks, ubernostrum and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:46:38 +00:00
Adrian Holovaty e259b8712a Added stub of docs/shortcuts.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:09:38 +00:00
Adrian Holovaty 9cccf59db5 Fixed #5460 -- unique_together now accepts a single tuple for convenience. Thanks, Deryck Hodge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 20:36:53 +00:00
Adrian Holovaty 55d6aebfec Fixed #5394 -- REDIRECT_FIELD_NAME is now configurable. Thanks, Petr Marhoun, DavidReynolds and effbot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:25:37 +00:00
Adrian Holovaty 0d52d2b2f9 Fixed #5342 -- Added max_length parameter to EmailField. Thanks, donspaulding and gwilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:22:43 +00:00
Adrian Holovaty fe78237a22 Fixed #5376 -- Added --addrport option to the 'testserver' command. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:17:15 +00:00
Jacob Kaplan-Moss 74b816ae9c Fixed #4061: added docs on how to limit access to databrowse. Thanks, Nick Efford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 18:59:20 +00:00
Adrian Holovaty 9f83beb372 Fixed #5464 -- Fixed typo in docs/newforms.txt. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 18:25:22 +00:00
Russell Keith-Magee 4b9148ac19 Fixed #5455 -- Fixed some backticks, quotes and typos in the settings documentation. Thanks, akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 16:40:42 +00:00
Adrian Holovaty f7e1047b08 Edited docs/install.txt changes from [6178]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 15:33:42 +00:00
Adrian Holovaty 7ed3196536 Added 'New in Django development version' note to docs/request_response.txt change from [6164]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 15:21:30 +00:00
Malcolm Tredinnick 0f03d9b6cb Fixed #5340 -- Fixed a broken link. Thanks, Justin Lilly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 10:11:02 +00:00
Russell Keith-Magee fa5e935af0 Fixed #5280 -- Minor typo in modpython docs. Thanks for the attention to detail, nsteinmetz@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:49:02 +00:00
Malcolm Tredinnick 36396fb430 Fixed #3766 -- Added in-memory caching for the sites framework. Will speed up all the "current site" lookups. Thanks, Matt Riggott.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:37:09 +00:00
Russell Keith-Magee bc21612012 Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:29:51 +00:00
Malcolm Tredinnick 518bc15b21 Fixed #3902 -- Added some excellent notes about installing Django on Windows. Thanks, nick@efford.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:04:07 +00:00
Malcolm Tredinnick e70d7e6064 Fixed #987 -- Convert relative URI portions into absolute URIs in HTTP Location headers. Based on a patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 05:28:00 +00:00
Adrian Holovaty dc785104b8 Fixed #5341 -- Clarified docs/db-api.txt docs about params in extra(). Thanks, Paul Smith
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:55:09 +00:00
Russell Keith-Magee e336722fd1 Added documentation notes for new feature added in [6149].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:24:58 +00:00
Adrian Holovaty 4d25f8655b Added 'New in Django development version' note to docs/generic_views.txt change from [6157]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:15:55 +00:00
Adrian Holovaty 6767849212 Edited docs/request_response.txt change from [6155]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:12:02 +00:00
Adrian Holovaty e86d35879f Edited docs/templates_python.txt change from [6143]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:04:51 +00:00
Russell Keith-Magee 2bec822ff3 Fixed #3895 -- Added ability to customize the context variable in the archive_index generic view. Thanks to marco.giusti@gmail.com and toke-django@toke.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 03:54:28 +00:00
Malcolm Tredinnick 813c48e6eb Fixed #4726 -- Added a note about the exception raised by QuerySet.__getitem__.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 03:17:46 +00:00
Russell Keith-Magee 09145d2e5f Fixed #208 -- Modernized the syntax of the cycle tag to allow for spaces and variables in cycle values. Thanks to SmileyChris and Chris McAvoy for their work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 02:49:21 +00:00
Russell Keith-Magee d14c756b5e Fixed #4919 -- Added 'last' marker on paginators. Thanks to patrick@vonautomatisch.atfor the idea, and nick@efford.org for the patch and docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:52:10 +00:00
Malcolm Tredinnick 62fe5cf138 Fixed #3922 -- Added a warning that fields passed to form_for_model callback function should not be modified. It's bad for your health. Thanks, Philippe Raoult.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:45:26 +00:00
Malcolm Tredinnick 1e94ef85bf Fixed #4360 -- Corrected where HTTP headers are in the test response. Also noted that it is an extension of HttpResponse, not a simpler object. Thanks, John Shaffer for the first part.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:21:34 +00:00
Russell Keith-Magee 87e77ffca0 Fixed #1795 -- Added page_range to paginators in generic list views. Thanks to polarcowz@gmail.com and Marc Fargas <telenieko@telenieko.com> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:01:02 +00:00
Malcolm Tredinnick 4fd2b0ca77 Fixed #2319 -- Added a note that the sites framework is used by admin's view-on-site functionality. Based on a patch from David Reynolds.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 00:52:39 +00:00
Malcolm Tredinnick 1b0e588118 Fixed #4793 -- Tweaked custom filter documentation a little to possibly reduce some confusion. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 23:30:26 +00:00
Malcolm Tredinnick ce249d4366 Fixed #4752 -- Make default ErrorList customisable in newforms display. Based on a patch from michal@logix.cz and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 23:09:40 +00:00
Adrian Holovaty 28d27a77e8 Fixed #5409 -- Fixed logic error in docs/db-api.txt. Thanks, David Paccoud
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 14:41:38 +00:00
Adrian Holovaty ed5a91f428 Fixed #5397 -- Fixed typo in docs/newforms.txt example. Thanks, zhaoz@u.washington.edu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 14:38:25 +00:00
Adrian Holovaty ced74d582a Added 'Claiming tickets' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 14:38:47 +00:00
Adrian Holovaty db6093641c Fixed #5406 -- Fixed spelling error in docs/model-api.txt. Thanks, Andrew Shearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 13:11:51 +00:00
Adrian Holovaty 4453f65c78 Combined two paragraphs in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:43 +00:00
Adrian Holovaty 49e4e4f9ce Attempted to bold part of docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:06 +00:00
Adrian Holovaty b82a44d270 Added 'How to document new features' to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:42:33 +00:00
Adrian Holovaty 3a3669e010 Fixed #5336 -- Altered an example in docs/fastcgi.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:48:25 +00:00
Adrian Holovaty 5e19019bca Added bullet to docs/contributing.txt about creating diffs from the top-level trunk directory
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:10:47 +00:00
Adrian Holovaty 84f6182494 Fixed broken link in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:01:33 +00:00
Adrian Holovaty c853973110 Improved 'Examples of using different ports and addresses' section in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:00:30 +00:00
Adrian Holovaty 71504127fd Fixed #5369 -- Refactored the django-admin.py help system, allowing each subcommand to register its own options. Thanks for the patch, Todd O'Bryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 21:57:59 +00:00
Adrian Holovaty 6f0bc3d02b Fixed #5280 -- Fixed typo in docs/modpython.txt. Thanks, nsteinmetz@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:21:36 +00:00
Adrian Holovaty 9b07806aa1 Fixed #5340 -- Linked docs/templates.txt to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:18:36 +00:00
Gary Wilson Jr a047f6a8fe Fixed #5346 -- Fixed a couple typos in the model-api docs. Thanks, David Paccoud.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:30:16 +00:00
Russell Keith-Magee e4342b7d28 Refs #5343 -- Reverted [6047]. Loading custom commands was causing the settings file to get read before the options could be processed to determine if a --settings option was present. Back to the drawing board (again)...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-05 14:01:31 +00:00
Adrian Holovaty faaf2dad36 Updated docs/cache.txt section on 'dummy caching' to use the same example format as the other backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 22:44:35 +00:00
Russell Keith-Magee 9515b953f8 Fixed #5334 -- Added installation instructions for FreeBSD, and sorted the existing instructions by name. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 13:09:59 +00:00
Russell Keith-Magee f25b8cdbcd Fixed #5212, #5222 -- Added the ability for users to register their own commands with django-admin. A previous attempt at this was introduced in [5923]-[5925], and rolled out in [5929].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 12:59:49 +00:00
Russell Keith-Magee 853f9c7db9 Fixed #5271 -- Fixed documentation reference to using the application name as an argument to manage.py validate. The recent management.py refactor exposed this error; it was silently ignored previously.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 13:13:10 +00:00
Russell Keith-Magee 3bf4ef0c77 Fixed #4988 -- In the test client, Added tracking of the client and request that caused a response so that the assertRedirects check can use the correct client when following a redirect. Well spotted, alex@gc-web.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 11:21:40 +00:00
Adrian Holovaty 8e3507cd3e Fixed #4923 -- Fixed error in docs/authentication.txt. Thanks, djangotrac.20.skel@spamgourmet.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 06:16:47 +00:00
Adrian Holovaty a07c1c5aa6 Fixed #5303 -- Fixed incorrect statement about PythonPath directive in docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02 17:09:27 +00:00
Russell Keith-Magee 5ad08583e1 Fixed #4968 -- Added assertRedirects handling for paths with GET data. Thanks for the patch, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 11:37:28 +00:00
Adrian Holovaty 33ab65dd1e Made negligible capitalization fix to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 04:30:20 +00:00
Gary Wilson Jr 4ea2afa4d5 Fixed #5257 -- Fixed typo in tutorial from [6006]. Thanks, Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:16:19 +00:00
Gary Wilson Jr 1a1a58c9f8 Fixed #3184 -- Changed the `unordered_list` template filter to use a more simple format, while maintaining backwards compatibility with the old format. `unordered_list` now works with a simple list of items. Thanks for the patch, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:11:20 +00:00
Adrian Holovaty 32c729be10 Added note to docs/django-admin.txt section on 'testserver' that the server does not detect changes to Python code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 23:56:33 +00:00
Adrian Holovaty 132605d889 Fixed #5086 -- The 'flush' and 'sqlflush' management commands no longer touch tables that Django is not aware of (tables that are not in INSTALLED_APPS and/or do not have associated models. Thanks for bringing this up, shaun@cuttshome.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 19:32:30 +00:00
Adrian Holovaty de2881f9f2 Removed incorrect link that slipped in docs/db-api.txt in [6010]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:59:59 +00:00
Adrian Holovaty b189e266ef Fixed #5068 -- Fixed error in docs/db-api.txt. Thanks, Collin Grady and SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:58:36 +00:00
Adrian Holovaty f8e26f5c2c Fixed #5169 -- Fixed error in docs/settings.txt "404 errors" section. Thanks, rokclimb15@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:51:32 +00:00
Adrian Holovaty eb2ce98b29 Fixed #5170 -- Made FileField a link in the ImageField section of docs/model-api.txt -- assuming the ReST gods are smiling on me today
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:48:32 +00:00
Adrian Holovaty ce207949f3 Fixed #5195 -- Added notes to docs/tutorial01.txt about max_length and __unicode__() changes and 0.96 vs. development version. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:43:32 +00:00
Adrian Holovaty 62329dca05 Fixed #5209 -- Removed link to outdated screencast in docs/faq.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:37:43 +00:00
Adrian Holovaty b3103feead Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt example. Thanks, trey@ktrl.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:29:26 +00:00
Adrian Holovaty a3a07af910 Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21 02:35:01 +00:00
Malcolm Tredinnick c06524bc2d Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged view. Based on a patch from toddobryan@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 14:15:40 +00:00
Malcolm Tredinnick 14b5e074ba Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 08:50:08 +00:00
Adrian Holovaty 77a9b0cb1d Edited docs/templates.txt change from [5938]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 21:02:36 +00:00
Malcolm Tredinnick 0a49719e7a Used the url() function when adding a named URL pattern, mostly as an example of good practice and to introduce the function. Fixed #4908 (although it wasn't a bug).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:48 +00:00
Malcolm Tredinnick d1892edc9f Added documentation of the arguments for the url() function.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:21 +00:00