Removed unnecessary imports.

This commit is contained in:
Marten Kenbeek 2016-01-23 15:10:29 +01:00
parent 002a4f72c4
commit beb9112a79
1 changed files with 0 additions and 1 deletions

View File

@ -166,7 +166,6 @@ def translate_url(url, lang_code):
the `lang_code` language (either by i18n_patterns or by translated regex).
Return the original URL if no translated version is found.
"""
from django.urls import resolve, reverse
parsed = urlsplit(url)
try:
match = resolve(parsed.path)