We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 807ce86 commit 06a1bfcCopy full SHA for 06a1bfc
django_openid_auth/tests/test_views.py
@@ -40,7 +40,7 @@
40
from django.contrib.auth.models import User, Group, Permission
41
try:
42
from django.core.urlresolvers import reverse
43
-except ModuleNotFoundError:
+except ImportError:
44
from django.urls import reverse
45
from django.http import HttpRequest, HttpResponse
46
from django.test import TestCase
django_openid_auth/views.py
@@ -42,7 +42,7 @@
from django.contrib.auth.models import Group
47
from django.http import HttpResponse, HttpResponseRedirect
48
from django.http.request import QueryDict
0 commit comments