summaryrefslogtreecommitdiff
path: root/tests/admin_custom_urls
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-12-30 16:51:16 +0100
committerTim Graham <timograham@gmail.com>2015-12-31 14:21:29 -0500
commit16411b8400ad08f90c236bb2e18f65c655f903f8 (patch)
treedf01123093c126222e8f492512472e5834966100 /tests/admin_custom_urls
parentdf3d5b1d73699b323aac377dffab039dca26c1e4 (diff)
downloaddjango-16411b8400ad08f90c236bb2e18f65c655f903f8.tar.gz
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
Diffstat (limited to 'tests/admin_custom_urls')
-rw-r--r--tests/admin_custom_urls/models.py2
-rw-r--r--tests/admin_custom_urls/tests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_custom_urls/models.py b/tests/admin_custom_urls/models.py
index 5a1b2f5c2e..5365ee34bd 100644
--- a/tests/admin_custom_urls/models.py
+++ b/tests/admin_custom_urls/models.py
@@ -1,9 +1,9 @@
from functools import update_wrapper
from django.contrib import admin
-from django.core.urlresolvers import reverse
from django.db import models
from django.http import HttpResponseRedirect
+from django.urls import reverse
from django.utils.encoding import python_2_unicode_compatible
diff --git a/tests/admin_custom_urls/tests.py b/tests/admin_custom_urls/tests.py
index 5e9a119b6a..11690e0757 100644
--- a/tests/admin_custom_urls/tests.py
+++ b/tests/admin_custom_urls/tests.py
@@ -4,9 +4,9 @@ import datetime
from django.contrib.admin.utils import quote
from django.contrib.auth.models import User
-from django.core.urlresolvers import reverse
from django.template.response import TemplateResponse
from django.test import TestCase, override_settings
+from django.urls import reverse
from .models import Action, Car, Person