diff --git a/authority/templatetags/permissions.py b/authority/templatetags/permissions.py index 3a0a00c..4e65cb9 100644 --- a/authority/templatetags/permissions.py +++ b/authority/templatetags/permissions.py @@ -1,6 +1,6 @@ from django import template from django.core.exceptions import ImproperlyConfigured -from django.core.urlresolvers import reverse +from django.urls import reverse from django.contrib.auth.models import AnonymousUser from authority.utils import get_check diff --git a/example/exampleapp/tests.py b/example/exampleapp/tests.py index 36b0ba2..8aeb026 100644 --- a/example/exampleapp/tests.py +++ b/example/exampleapp/tests.py @@ -1,4 +1,4 @@ -from django.core.urlresolvers import reverse +from django.urls import reverse from django.test import TestCase from authority.compat import get_user_model