Skip to content

Commit

Permalink
*: fix debug import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Sep 6, 2023
1 parent 0fef43c commit b080b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import debug_toolbar
from django.conf import settings
from django.contrib import admin
from django.urls import include, path
Expand Down Expand Up @@ -43,6 +42,7 @@

# append django debug toolbar urls
if settings.DEBUG is True:
import debug_toolbar

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

Expand Down

0 comments on commit b080b4a

Please sign in to comment.