We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d95ff commit bcc3c46Copy full SHA for bcc3c46
debug_toolbar/utils.py
@@ -6,7 +6,6 @@
6
from importlib import import_module
7
from pprint import pformat
8
9
-import django
10
from asgiref.local import Local
11
from django.core.exceptions import ImproperlyConfigured
12
from django.template import Node
@@ -24,10 +23,6 @@
24
23
_local_data = Local()
25
26
27
-# Figure out some paths
28
-django_path = os.path.realpath(os.path.dirname(django.__file__))
29
-
30
31
def get_module_path(module_name):
32
try:
33
module = import_module(module_name)
0 commit comments