summaryrefslogtreecommitdiff
path: root/docs/topics/http
AgeCommit message (Collapse)Author
2010-08-09[soc2010/query-refactor] Merged up to trunk r13556, resolved merge conflictsarchive/soc2010/query-refactorAlex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09Fixed #11933 -- Corrected the naming of the cached_db session backend. ↵Russell Keith-Magee
Thanks to mb0@mb0.org for the report and Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09Fixed #13051 -- Corrected the documentation of URL namespacing to match the ↵Russell Keith-Magee
tested implementation behavior. Thanks to apollo13 for the report, and Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06Fixed #8357 -- Clarified what constitutes activity when calculating session ↵Russell Keith-Magee
expiry. Thanks to timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-25Fixed #13200 -- Updated the DB session backend to make full use of routers, ↵Russell Keith-Magee
deprecating the need for the SESSION_DB_ALIAS setting. Thanks to rokclimb15 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-16Fixed #13120: Corrected typo in middleware doc. Thanks django@willhardy.com.au.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24Fixed #11933 -- Added versionchanged marker for the cache_db session ↵Russell Keith-Magee
backend. Thanks to gabrielhurley for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24Fixed #11782 -- Added some Sphinx metadata to the file uploads ↵Russell Keith-Magee
documentation. Thanks to timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23Fixed #12799 -- Added an extra newline to help with PDF generation of ↵Russell Keith-Magee
documentation. Thanks to Ivan Savov for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21Fixed #12795 - Updated the middleware docs to include the messages app ↵Jannis Leidel
middleware. Thanks, Timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26Fixed several broken and redirecting URLs in the documentation (fixes ↵Gary Wilson Jr
#12219, refs #12427). git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-13Fixed #10326: handler500 and handler404 may now be callables. Thanks, ↵Jacob Kaplan-Moss
dcwatson, adurdin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-16Fixed #5034 -- honor request.urlconf in reverse and resolve.Brian Rosner
This enables {% url %} to honor request.urlconf set from process_request middleware methods. Thanks SmileyChris for the initial patch work. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27Moved contrib.csrf.* to core code.Luke Plant
There is stub code for backwards compatiblity with Django 1.1 imports. The documentation has been updated, but has been left in docs/contrib/csrf.txt for now, in order to avoid dead links to documentation on the website. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26Fixed #9977 - CsrfMiddleware gets template tag added, session dependency ↵Luke Plant
removed, and turned on by default. This is a large change to CSRF protection for Django. It includes: * removing the dependency on the session framework. * deprecating CsrfResponseMiddleware, and replacing with a core template tag. * turning on CSRF protection by default by adding CsrfViewMiddleware to the default value of MIDDLEWARE_CLASSES. * protecting all contrib apps (whatever is in settings.py) using a decorator. For existing users of the CSRF functionality, it should be a seamless update, but please note that it includes DEPRECATION of features in Django 1.1, and there are upgrade steps which are detailed in the docs. Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work on the patch, and to lots of other people including Simon Willison and Russell Keith-Magee who refined the ideas. Details of the rationale for these changes is found here: http://code.djangoproject.com/wiki/CsrfProtection As of this commit, the CSRF code is mainly in 'contrib'. The code will be moved to core in a separate commit, to make the changeset as readable as possible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11073 -- Added documentation for SESSION_COOKIE_PATH. Thanks to ↵Russell Keith-Magee
liling for the report, and gsong for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12Modified r11531 to use the original suggested text from the patch (which was ↵Russell Keith-Magee
better). git-svn-id: http://code.djangoproject.com/svn/django/trunk@11532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12Fixed #11589 -- Corrected an argument in the shortcuts documentation. Thanks ↵Russell Keith-Magee
to tsaylor for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21Cleanup of some minor markup problems in URL documentation.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-17Fixed #11492 -- Corrected some typos, and added some extra markup for the ↵Russell Keith-Magee
URLs documentation. Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16Fixed #11491 -- Corrected minor typo in new namespace URL docs. Thanks to ↵Russell Keith-Magee
Carl Meyer for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16Fixed #10061 -- Added namespacing for named URLs - most importantly, for the ↵Russell Keith-Magee
admin site, where the absence of this facility was causing problems. Thanks to the many people who contributed to and helped review this patch. This change is backwards incompatible for anyone that is using the named URLs introduced in [9739]. Any usage of the old admin_XXX names need to be modified to use the new namespaced format; in many cases this will be as simple as a search & replace for "admin_" -> "admin:". See the docs for more details on the new URL names, and the namespace resolution strategy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11Fixed #11439 -- Added docs on including URL patterns as an iterable. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the draft text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11322 -- Clarified docs regarding middleware processing. Thanks the ↵Russell Keith-Magee
Michael Malone for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11272 -- Made some clarifications to the overview and tutorial. ↵Russell Keith-Magee
Thanks to jjinux for the review notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26Made some small improvements to docs/topics/http/sessions.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #10400: Added a note in the file uploads doc about the correct form ↵Karen Tracey
type needed for file uploads to work. Thanks claudep and timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03Fixed a whole bunch of small docs typos, errors, and ommissions.Jacob Kaplan-Moss
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528. Thanks to all the respective authors of those tickets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31A whole lotta documentation fixes: Fixes #8704, #8826, #8980, #9243, #9343, ↵Jacob Kaplan-Moss
#9529, git-svn-id: http://code.djangoproject.com/svn/django/trunk@10303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31Fixed #10120 -- Added a `return` to a doc example, patch from andrews.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31Fixed #10553 -- Corrected several uses of `URLconf` in documentation and ↵Gary Wilson Jr
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-23Made default MIDDLEWARE_CLASSES same as in project_template.Luke Plant
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-23Reverted 10094 and 10095 (in favour of solution that will hopefully land for ↵Luke Plant
beta 2) git-svn-id: http://code.djangoproject.com/svn/django/trunk@10128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21Added a versionadded directive to new redirect shortcut (refs #10194).Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21Fixed #10194: added `django.shortcuts.redirect`, a do-what-I-mean redirect ↵Jacob Kaplan-Moss
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-19Updated all refs to default middleware in docs.Luke Plant
(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-02-22Fixed #10298 -- Corrected the example for the get_list_or_404 shortcut. ↵Russell Keith-Magee
Thanks to Dagur for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16Auth-related doc cleanups:Gary Wilson Jr
* 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-15A few minor wording, whitespace, punctuation, and link changes for the ↵Gary Wilson Jr
middleware documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-11Fixed a long line, a typo, and a few misspellings from [9727].Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-10Fixed #6791: added a write-through cache session backend: session data is ↵Jacob Kaplan-Moss
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
2008-11-18Renamed file-uploads.txt from 'topics-file-uploads' to ↵Adrian Holovaty
'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-18Removed 'Most Web sites wouldn't be complete without a way to upload files' ↵Adrian Holovaty
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-16Fixed #9472 -- Fixed a couple of URL patterns to be more consistent (and removeMalcolm Tredinnick
a misleading initial slash). Thanks, daveyjoe. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02Fixed #9497 - Doc typos. Many thanks ramiro.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01Fixed #9441 -- Corrected typo in file upload settings doc. Thanks gsf.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01Fixed #9487 -- Corrected several links into the Python docs that were broken ↵Karen Tracey
by the recent Python docs refactor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24Fixed #9430 -- Fixed documentation references to the HttpResponse classes forMalcolm Tredinnick
returning HTTP status codes other than 200. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9266 bcc190cf-cafb-0310-a4f2-bffc1f526a37