File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 10
10
from django .utils .encoding import force_text
11
11
12
12
from debug_toolbar .toolbar import DebugToolbar
13
- from debug_toolbar . utils import settings as dt_settings
13
+ from debug_toolbar import settings as dt_settings
14
14
15
15
_HTML_TYPES = ('text/html' , 'application/xhtml+xml' )
16
16
# Handles python threading module bug - http://bugs.python.org/issue14308
Original file line number Diff line number Diff line change 16
16
from debug_toolbar .panels import DebugPanel
17
17
from debug_toolbar .utils import (tidy_stacktrace , render_stacktrace ,
18
18
get_template_info , get_stack )
19
- from debug_toolbar . utils import settings as dt_settings
19
+ from debug_toolbar import settings as dt_settings
20
20
21
21
22
22
cache_called = Signal (providing_args = [
Original file line number Diff line number Diff line change 11
11
from django .utils import six
12
12
13
13
from debug_toolbar .utils import tidy_stacktrace , get_template_info , get_stack
14
- from debug_toolbar . utils import settings as dt_settings
14
+ from debug_toolbar import settings as dt_settings
15
15
16
16
17
17
class SQLQueryTriggered (Exception ):
Original file line number Diff line number Diff line change 5
5
6
6
7
7
# Always import this module as follows:
8
- # from debug_toolbar.utils import settings [as dt_settings]
8
+ # from debug_toolbar import settings [as dt_settings]
9
9
10
10
# Don't import directly CONFIG or PANELs, or you will miss changes performed
11
11
# with override_settings in tests.
Original file line number Diff line number Diff line change 13
13
from django .utils .datastructures import SortedDict
14
14
from django .utils .importlib import import_module
15
15
16
- from debug_toolbar . utils import settings as dt_settings
16
+ from debug_toolbar import settings as dt_settings
17
17
18
18
19
19
class DebugToolbar (object ):
Original file line number Diff line number Diff line change 1
1
# Refresh the debug toolbar's configuration when overriding settings.
2
2
3
3
from debug_toolbar .toolbar import DebugToolbar
4
- from debug_toolbar . utils import settings as dt_settings
4
+ from debug_toolbar import settings as dt_settings
5
5
6
6
from django .dispatch import receiver
7
7
from django .test .signals import setting_changed
You can’t perform that action at this time.
0 commit comments