summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoong Kang Lim <yoongkang.lim@gmail.com>2016-01-23 23:13:09 +1100
committerTim Graham <timograham@gmail.com>2016-01-23 07:33:59 -0500
commit7037dc57245c7ed0b9ef7e4a3cded963d0644b44 (patch)
tree57faaef0e58ac5fc72314be17f456de21d04fe2f
parent817b75c54dd2bf8760c34e6f635a8afa7588f7b4 (diff)
Removed unnecessary import in django/urls/base.py.
-rw-r--r--django/urls/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/urls/base.py b/django/urls/base.py
index a9a2dff1e6..ea68f99cea 100644
--- a/django/urls/base.py
+++ b/django/urls/base.py
@@ -153,7 +153,6 @@ def is_valid_path(path, urlconf=None):
False otherwise. This is a convenience method to make working with "is
this a match?" cases easier, avoiding try...except blocks.
"""
- from django.urls.base import resolve
try:
resolve(path, urlconf)
return True