When I try running the project, Django can not load the django-debug-toolbar plugin for some reason. Error message says:
web_1 | ModuleNotFoundError: No module named 'debug_toolbar'
Here is my settings.py
INSTALLED_APPS = [
# ...
'django.contrib.staticfiles',
# ...
'debug_toolbar',
]
MIDDLEWARE = [
# ...
'debug_toolbar.middleware.DebugToolbarMiddleware',
# ...
]
INTERNAL_IPS = ('127.0.0.1', '192.168.0.1',)
if you are not installed the django-debug-toolbar please install with help of below command
pip install django-debug-toolbar