First time here? Check out the FAQ!

Revision history  [back]

Hi Benoit,

Yes the settings.py file will need to be modified.

Add:

CSRF_COOKIE_NAME = 'somename'
CSRF_COOKIE_DOMAIN = 'example.com' #your domain name

and to TEMPLATE_CONTEXT_PROCESSORS add:

'django.core.context_processors.csrf',

That CSRF_FAILURE_VIEW is missing is a defect, but you only see that when there is a csrf error, which hopefully will go away soon.