Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

What's new in Django 1.2 alpha 1 (via) Multiple database support, improved CSRF prevention, a messages framework (similar to the Rails “flash” feature), model validation, custom e-mail backends, template caching for much faster handling of the include and extends tags, read only fields in the admin, a better if tag and more. Very exciting release.

Tagged , , , ,

6 comments

  1. How is the CSRF prevention implemented? The link doesn't give any implementation details...

    Jörn Zaefferer - 7th January 2010 22:31 - #

  2. Does the documentation for the feature answer your question?

    http://docs.djangoproject.com/en/dev/ref/contrib/c srf/

    If not, we should fix it.

    Simon Willison - 7th January 2010 23:52 - #

  3. Thanks, that explains it quite well. Great to see Django is taking that approach, that seems to be both the most reliable and simplest way.

    What I'd like to see improved: How exactly is the random value generated? What are the details of the strict-referer-checking under HTTPS? A link to a resource with further details would be enough for that.

    Jörn Zaefferer - 8th January 2010 01:45 - #

  4. Thanks for wirnitg such an easy-to-understand article on this topic.

    Darold - 16th August 2011 02:47 - #

  5. I will recommend my friends to read this. Bottes UGGI am quite sure they will UGG Pas Cher learn lots of new stuff here than anybody else!

    ugg pas cher - 29th October 2011 02:56 - #

  6. I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else! Billings Montana Motels

    Groundless - 1st November 2011 06:45 - #

Comments are closed.
A django site