From d1f90aa05bb327868b5519d642760708ccce1d03 Mon Sep 17 00:00:00 2001 From: Jason Ward Date: Fri, 5 Jul 2019 15:20:15 -0400 Subject: [PATCH] Updated path to `reverse` --- authority/templatetags/permissions.py | 2 +- example/exampleapp/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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