First time here? Check out the FAQ!

Revision history  [back]

Problem with CSRF setting

Tried to login, and got the following exception. Looks like there needs to be a 'CSRF_FAILURE_VIEW' variable in settings.py

AttributeError at /account/signin/
'Settings' object has no attribute 'CSRF_FAILURE_VIEW'
Request Method: POST
Request URL:    http://test.com:8000/account/signin/
Exception Type: AttributeError
Exception Value:    
'Settings' object has no attribute 'CSRF_FAILURE_VIEW'
Exception Location: /usr/local/lib/python2.6/site-packages/django/utils/functional.py in __getattr__, line 276
Python Executable:  /usr/local/bin/python
Python Version: 2.6.6

Problem with CSRF setting

Tried to login, and got the following exception. Looks like there needs to be a 'CSRF_FAILURE_VIEW' variable in settings.py

AttributeError at /account/signin/
'Settings' object has no attribute 'CSRF_FAILURE_VIEW'
Request Method: POST
Request URL:    http://test.com:8000/account/signin/
Exception Type: AttributeError
Exception Value:    
'Settings' object has no attribute 'CSRF_FAILURE_VIEW'
Exception Location: /usr/local/lib/python2.6/site-packages/django/utils/functional.py in __getattr__, line 276
Python Executable:  /usr/local/bin/python
Python Version: 2.6.6