FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit fe2a70ad authored by Dr Abraham Martin's avatar Dr Abraham Martin
Browse files

bugfix: new signature is using from django 1.11

parent 2aedd422
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class RavenAuthBackend(RemoteUserBackend):
"access this site"))
raise UserNotAuthorised("Authentication successful but you are not authorised to access this site")
if django.VERSION[0] <= 1 and django.VERSION[1] <= 8:
if django.VERSION[0] <= 1 and django.VERSION[1] <= 10:
return super(RavenAuthBackend, self).authenticate(response.principal)
else:
return super(RavenAuthBackend, self).authenticate(response_req, response.principal)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment