diff options
| author | Aymeric Augustin | 2013-11-12 21:42:12 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2013-11-12 21:42:12 +0100 |
| commit | 02716d9ca2728e33e92806f6ed0b3d9375df53a9 (patch) | |
| tree | ceb3f1145a8fac75b92fdc980cde539a391fc5fc /tests | |
| parent | aebf8990e1e9b933f52d44348a02879c14f12577 (diff) | |
| download | django-debug-toolbar-02716d9ca2728e33e92806f6ed0b3d9375df53a9.tar.bz2 | |
Remove unnecessary nesting.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/__init__.py | 2 | ||||
| -rw-r--r-- | tests/base.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index 47fba24..0abb8a3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,7 +1,7 @@ # Refresh the debug toolbar's configuration when overriding settings. from debug_toolbar.utils.settings import CONFIG, CONFIG_DEFAULTS -from debug_toolbar.toolbar.loader import load_panel_classes, panel_classes # noqa +from debug_toolbar.toolbar import load_panel_classes, panel_classes # noqa from django.dispatch import receiver from django.test.signals import setting_changed diff --git a/tests/base.py b/tests/base.py index e6f6dac..a1a59cc 100644 --- a/tests/base.py +++ b/tests/base.py @@ -6,7 +6,7 @@ from django.http import HttpResponse from django.test import TestCase, RequestFactory from debug_toolbar.middleware import DebugToolbarMiddleware -from debug_toolbar.toolbar.loader import DebugToolbar +from debug_toolbar.toolbar import DebugToolbar rf = RequestFactory() |
