Commit 7037dc57 authored by Yoong Kang Lim's avatar Yoong Kang Lim Committed by Tim Graham
Browse files

Removed unnecessary import in django/urls/base.py.

parent 817b75c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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