The scenario is,
I cloned the Django code for OpenShift-V3 from here . When I run the code using python manage.py runserver getting an error as,
python manage.py runserver
Remove it and check if the problem goes away. Possible occurences:
pip uninstall django-debug-toolbar INSTALLED_APPS = [ ... 'debug_toolbar', ... ] MIDDLEWARE = [ ... 'debug_toolbar.middleware.DebugToolbarMiddleware', ... ]