You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I love this app for my Django projects, but I have recently updated from Django 2.0 to Django 2.1 and now I'm getting this error:
Internal Server Error: /session_security/ping/
Traceback (most recent call last):
File "/home/ellen/ownCloud/virtualenvs/purple_box/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/ellen/ownCloud/virtualenvs/purple_box/lib/python3.6/site-packages/django/utils/deprecation.py", line 90, in __call__
response = self.process_request(request)
File "/home/ellen/ownCloud/virtualenvs/purple_box/lib/python3.6/site-packages/session_security/middleware.py", line 76, in process_request
elif (request.path == reverse('session_security_ping') and
File "/home/ellen/ownCloud/virtualenvs/purple_box/lib/python3.6/site-packages/django/urls/base.py", line 90, in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "/home/ellen/ownCloud/virtualenvs/purple_box/lib/python3.6/site-packages/django/urls/resolvers.py", line 622, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'session_security_ping' not found. 'session_security_ping' is not a valid view function or pattern name.
Session security still seems to work, but getting this traceback in my logs is not ideal. I hope you can upgrade the compatibility to Django 2.1.
Thanks!
The text was updated successfully, but these errors were encountered:
Lionqueen94
changed the title
Django 2.1 compatibility request
NoReverseMatch: Reverse for 'session_security_ping' not found.
Aug 15, 2018
I do have them in my urls.py and the feature was actually working fine. I just kept seeing that traceback in my logs every time the warning would kick in. In the current project I'm working on I don't get the errors, so I guess it works... :)
Hi there!
I love this app for my Django projects, but I have recently updated from Django 2.0 to Django 2.1 and now I'm getting this error:
Session security still seems to work, but getting this traceback in my logs is not ideal. I hope you can upgrade the compatibility to Django 2.1.
Thanks!
The text was updated successfully, but these errors were encountered: