Commit Graph

1806 Commits

Author SHA1 Message Date
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