django/docs
Luke Plant 8e70cef9b6 Fixed #9977 - CsrfMiddleware gets template tag added, session dependency 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-10-26 23:23:07 +00:00
..
_ext Fixed #10539 -- Updated Sphinx configuration to accommodate 0.6 while retaining compatibility with 0.4 and 0.5. Thanks to Ramiro Morales for the patch. 2009-07-03 05:40:46 +00:00
_static Fixed a whole bunch of small docs typos, errors, and ommissions. 2009-04-03 18:30:54 +00:00
_templates Fixed #10539 -- Updated Sphinx configuration to accommodate 0.6 while retaining compatibility with 0.4 and 0.5. Thanks to Ramiro Morales for the patch. 2009-07-03 05:40:46 +00:00
faq Clarified faq/install w.r.t. the various Python versions available. 2009-10-23 19:52:15 +00:00
howto Fixed #11780 -- Corrected a typo in the static file serving docs. 2009-09-12 22:48:20 +00:00
internals Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
intro Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
man Cleaned up a bunch of minor doc stuff: 2008-09-02 16:42:13 +00:00
misc Fixed a whole bunch of small docs typos, errors, and ommissions. 2009-04-03 18:30:54 +00:00
obsolete Fixed a whole bunch of small docs typos, errors, and ommissions. 2009-04-03 18:30:54 +00:00
ref Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
releases Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
topics Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
Makefile Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
conf.py Bumped the version number in the docs to reflect Djagno 1.1 is released. 2009-08-08 02:56:19 +00:00
contents.txt Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/. 2008-08-23 22:25:40 +00:00
glossary.txt A whole lotta documentation fixes: Fixes #8704, #8826, #8980, #9243, #9343, #9529, 2009-03-31 23:34:03 +00:00
index.txt Add new documentation covering the layout of the Django SVN repository. 2009-08-17 10:23:43 +00:00