Kaydet (Commit) beb9112a authored tarafından Marten Kenbeek's avatar Marten Kenbeek

Removed unnecessary imports.

üst 002a4f72
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment