Skip to content

Commit

Permalink
chore(urls): remove some not needed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Aug 1, 2024
1 parent d489b81 commit 990ed3d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions weblate/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,8 +987,6 @@

# Legal integartion
if "weblate.legal" in settings.INSTALLED_APPS:
import weblate.legal.views

real_patterns.extend(
(
path(
Expand Down Expand Up @@ -1016,10 +1014,8 @@

# Django debug toolbar integration
if settings.DEBUG and "debug_toolbar" in settings.INSTALLED_APPS:
import debug_toolbar

real_patterns.append(
path("__debug__/", include(debug_toolbar.urls)),
path("__debug__/", include("debug_toolbar.urls")),
)

# Hosted Weblate integration
Expand Down

0 comments on commit 990ed3d

Please sign in to comment.