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


Ignore:
Timestamp:
Aug 11, 2017, 3:29:51 PM (7 years ago)
Author:
Ruben Alves

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28488, comment 3

    initial v1  
    66
    77I made my `courses.views.csrf_failure` raise an exception, so we could see the traceback.
     8
     9The error message is:
     10
     11`Lets see where this shit happens: {'template_name': 'dooesntmatter', 'reason': u'CSRF token missing or incorrect.', 'request': <WSGIRequest: POST '/en/accounts/password_reset/'>}`
    812
    913The traceback is the following:
     
    2731
    2832File "/opt/python/current/app/courses/views/__init__.py" in csrf_failure
    29   49.     raise Exception('Lets see where this shit works:' + str(locals()))
     33  49.     raise Exception('Lets see where this shit happens: ' + str(locals()))
Back to Top