django/django — pull request #2387 by rogerhu (2014-03-02 17:17:50+00:00)
Title: Allow CSRF tokens to be adjusted.

Internet Explorer has the ability to block/disable persistent cookies, and corruption of the index.dat cache
(i.e. to disk errors) can cause Django sites to authenticate correctly but fail to do FORM POST's. To
avoid this behavior, provide the option to configure the CSRF cookie age and set it to be 0 to be session-based.

Test added and documentation updated.