[OH-Dev] [issue1007] Since Django upgrade, runserver can't find DebugToolbar
ehashman
bugs at openhatch.org
Sat Jun 28 04:55:03 UTC 2014
New submission from ehashman <elana at hashman.ca>:
I now get the following error when I try to ./manage.py runserver:
Validating models...
Unhandled exception in thread started by <bound method Command.inner_run of
<django.core.management.commands.runserver.Command object at 0x2908b50>>
Traceback (most recent call last):
[ ... snip ... ]
File "src/oh-mainline/vendor/packages/Django/django/utils/importlib.py", line
35, in import_module
__import__(name)
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/models.py",
line 9, in <module>
dt_settings.patch_all()
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/settings.py", line
214, in patch_all
patch_middleware_classes()
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/settings.py", line
193, in patch_middleware_classes
if not is_toolbar_middleware_installed():
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/settings.py", line
175, in is_toolbar_middleware_installed
for middleware in settings.MIDDLEWARE_CLASSES)
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/settings.py", line
175, in <genexpr>
for middleware in settings.MIDDLEWARE_CLASSES)
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/settings.py", line
162, in is_toolbar_middleware
from debug_toolbar.middleware import DebugToolbarMiddleware
File
"src/oh-mainline/vendor/packages/django-debug-toolbar/debug_toolbar/middleware.py",
line 14, in <module>
from debug_toolbar.toolbar import DebugToolbar
ImportError: cannot import name DebugToolbar
This problem appears to be associated with commit
14b626db9e1dd946156fa7c552c7027167ed8a0f
Susan, can you fix?
----------
assignedto: onceuponatimeforever
messages: 4419
nosy: ehashman, onceuponatimeforever, paulproteus
priority: urgent
status: unread
title: Since Django upgrade, runserver can't find DebugToolbar
__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue1007>
__________________________________________
More information about the Devel
mailing list