1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00
django/docs/releases
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
..
0.95.txt
0.96.txt
1.0-alpha-1.txt
1.0-alpha-2.txt
1.0-beta-2.txt
1.0-beta.txt
1.0-porting-guide.txt Fixed #11119 -- Corrected spelling error in 1.0 porting guide. 2009-06-18 13:35:36 +00:00
1.0.1.txt One more correction to the release notes. 2008-11-15 05:57:39 +00:00
1.0.2.txt Fixed #9677 -- Fixed a tiny typo in the 1.0.2 release notes. 2008-12-07 03:54:45 +00:00
1.0.txt Now that the 1.0 release is finalized, we can fill in the revision number for it. 2008-09-04 05:26:09 +00:00
1.1-alpha-1.txt Fixed #10553 -- Corrected several uses of URLconf in documentation and comments, according to the Django style guide. Based on patch from rduffield. 2009-03-31 16:07:07 +00:00
1.1-beta-1.txt Added 1.1 beta release notes. 2009-03-23 23:25:03 +00:00
1.1-rc-1.txt Clarify the description of URL namespacing. 2009-07-22 01:41:16 +00:00
1.1.txt Fixed #11659 -- Corrected a minor typo in the v1.1 release notes. Thanks to agabel for the report. 2009-09-12 22:52:25 +00:00
1.2-alpha.txt Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default. 2009-10-26 23:23:07 +00:00
index.txt Added 1.1 release notes. 2009-07-29 05:31:00 +00:00