arocks / edge

A Django project skeleton that is modern and cutting edge.
http://django-edge.readthedocs.org/
MIT License
840 stars 247 forks source link

debug_toolbar.middleware.DebugToolbarMiddleware is missing #66

Closed mandarup closed 7 years ago

mandarup commented 7 years ago

following command $python manage.py migrate gives error:

SystemCheckError: System check identified some issues:

ERRORS:
?: debug_toolbar.middleware.DebugToolbarMiddleware is missing from MIDDLEWARE_CLASSES.
    HINT: Add debug_toolbar.middleware.DebugToolbarMiddleware to MIDDLEWARE_CLASSES.

I am not sure where to add this

mandarup commented 7 years ago

following the new setting as per #65 I ended up with

 django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: debug_toolbar
mandarup commented 7 years ago

solved by commenting out debug_toolbar from INSTALLED_APPS in <project>/src/<project>/settings/base.py:

  INSTALLED_APPS = (
                 # ...
                 # 'debug_toolbar',
                 # ...
   )