From 16411b8400ad08f90c236bb2e18f65c655f903f8 Mon Sep 17 00:00:00 2001 From: Marten Kenbeek Date: Wed, 30 Dec 2015 16:51:16 +0100 Subject: Fixed #26013 -- Moved django.core.urlresolvers to django.urls. Thanks to Tim Graham for the review. --- tests/admin_custom_urls/models.py | 2 +- tests/admin_custom_urls/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/admin_custom_urls') 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 -- cgit v1.3