Gary Wilson Jr
b4f5655c86
Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:07:07 +00:00
Luke Plant
cdc8c61bc3
Made default MIDDLEWARE_CLASSES same as in project_template.
...
And updated docs, and also corrected them about middleware by removing
'XViewMiddleware'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 23:20:40 +00:00
Luke Plant
20f7e51493
Reverted 10094 and 10095 (in favour of solution that will hopefully land for beta 2)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 23:02:46 +00:00
Gary Wilson Jr
e389234201
Added a versionadded directive to new redirect shortcut (refs #10194 ).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21 15:26:56 +00:00
Jacob Kaplan-Moss
d7e8127524
Fixed #10194 : added `django.shortcuts.redirect`, a do-what-I-mean redirect shortcut. See the docs at topics/http/shortcuts for details.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21 13:09:13 +00:00
Luke Plant
4e7a4eda3d
Updated all refs to default middleware in docs.
...
(adding CSRF, removing XView which is no longer a default)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 23:28:16 +00:00
Russell Keith-Magee
16d67a11ac
Fixed #10298 -- Corrected the example for the get_list_or_404 shortcut. Thanks to Dagur for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:06:56 +00:00
Gary Wilson Jr
88837875f2
Auth-related doc cleanups:
...
* Added to documentation of missing characters from `allowed_chars` in `make_random_password`.
* Fixed several long lines and word wraps.
* Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive.
* Turned a command line code example into a code block.
* Added attribute reference link for a ``request.META`` mention.
* Added `code-block:: html` directives for HTML examples.
* Corrected reference links for all the `auth.views` functions.
* Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272 ).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16 05:10:31 +00:00
Gary Wilson Jr
f76cb41251
A few minor wording, whitespace, punctuation, and link changes for the middleware documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-15 05:46:00 +00:00
Gary Wilson Jr
11d382c6c4
Fixed a long line, a typo, and a few misspellings from [9727].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-11 05:47:06 +00:00
Jacob Kaplan-Moss
299e1e814f
Fixed #6791 : added a write-through cache session backend: session data is written through the cache to the database, but read from the cache for speed. Thanks to jhenry, mcroydon, and jdunck.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-10 22:18:14 +00:00
Adrian Holovaty
0cfcc72f88
Renamed file-uploads.txt from 'topics-file-uploads' to 'topics-http-file-uploads' to be consistent with directory structure
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 07:32:38 +00:00
Adrian Holovaty
e37e57f44a
Removed 'Most Web sites wouldn't be complete without a way to upload files' sentence from file-uploads.txt in docs. I beg to differ.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 06:35:05 +00:00
Malcolm Tredinnick
a573f4c029
Fixed #9472 -- Fixed a couple of URL patterns to be more consistent (and remove
...
a misleading initial slash). Thanks, daveyjoe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 09:35:30 +00:00
Karen Tracey
c483583023
Fixed #9497 - Doc typos. Many thanks ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 20:43:20 +00:00
Karen Tracey
8a5f2ee912
Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 04:17:59 +00:00
Karen Tracey
dd9fd80561
Fixed #9441 -- Corrected typo in file upload settings doc. Thanks gsf.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:45:03 +00:00
Karen Tracey
d4f4ab8535
Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:02:09 +00:00
Malcolm Tredinnick
cbe11c1982
Fixed #9430 -- Fixed documentation references to the HttpResponse classes for
...
returning HTTP status codes other than 200.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:24:42 +00:00
Malcolm Tredinnick
fa63f1642d
Fixed #8975 -- Added a note to the documentation for reverse() that all views
...
must be importable for URL reversing to work correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:31:32 +00:00
Malcolm Tredinnick
a011a49457
Fixed #9047 -- Marked up django.core.urlresolvers.reverse() properly in the
...
docs. It now appears in the index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:27:24 +00:00
Russell Keith-Magee
c9f0dd1ed6
Fixed #9075 : Added a call to close() in the example file upload handler. Thanks to Brendan (bmsleight) for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 10:32:04 +00:00
Adrian Holovaty
74f386dba2
Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:54:20 +00:00
Jacob Kaplan-Moss
64a9469127
Fixed #8753 : converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:40:42 +00:00
Malcolm Tredinnick
a63a83e5d8
A rewrite of the reverse URL parsing: the reverse() call and the "url" template tag.
...
This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks
to SmileyChris and Ilya Semenov for some early patches in this area that were
incorporated into this change.
Fixed #2977 , #4915 , #6934 , #7206 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:11:20 +00:00
James Bennett
ce24a1f81d
Fixed #7654 : Documented the fact that file upload handlers must be modified before reading request.POST
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:23:36 +00:00
Jacob Kaplan-Moss
52914fbf5a
Fixed #8656 : added a note about iterating over `UploadedFile` only understanding `\n`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:39:17 +00:00
Russell Keith-Magee
f1ab8b4342
Fixed #8600 : Corrected example URLConf to match new comments framework. Thanks to julien for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:27:17 +00:00
Jacob Kaplan-Moss
ff420b4364
Fixed #8454 : added a FILE_UPLOAD_PERMISSIONS setting to control the permissoin of files uploaded by the built-in file storage system. Thanks, dcwatson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 22:21:14 +00:00
Jacob Kaplan-Moss
97cb07c3a1
Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/ .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 22:25:40 +00:00