Changes between Version 1 and Version 2 of Ticket #28488, comment 3


Ignore:
Timestamp:
Sep 1, 2017, 7:13:41 AM (7 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28488, comment 3

    v1 v2  
    1 Before Django1.11, I was using Django 1.8 and everything was working perfectly.
     1Before Django 1.11, I was using Django 1.8 and everything was working perfectly.
    22
    3 In order to use Django1.11, I did all the changes mentioned on https://docs.djangoproject.com/en/1.11/releases/1.11/
     3In order to use Django 1.11, I did all the changes mentioned on https://docs.djangoproject.com/en/1.11/releases/1.11/
    44
    55What I've done now was add `settings.CSRF_FAILURE_VIEW = 'courses.views.csrf_failure'` with `DEBUG=False`
     
    1313The traceback is the following:
    1414
    15 
    16 
     15{{{
    1716File "/opt/python/run/venv/lib64/python2.7/site-packages/django/core/handlers/exception.py" in inner
    1817  41.             response = get_response(request)
     
    3231File "/opt/python/current/app/courses/views/__init__.py" in csrf_failure
    3332  49.     raise Exception('Lets see where this shit happens: ' + str(locals()))
     33}}}
Back to Top