All technological notes.
django-debug-toolbar$ python -m pip install django-debug-toolbar
TEMPLATES setting contains a DjangoTemplates backend whose APP_DIRS options is set to True
```py
INSTALLED_APPS = [ “django.contrib.staticfiles”, ]
STATIC_URL = “static/”
TEMPLATES = [ { “BACKEND”: “django.template.backends.django.DjangoTemplates”, “APP_DIRS”: True, } ]
---
### Install the App
```py
INSTALLED_APPS = [
"debug_toolbar",
]
from django.urls import include, path
urlpatterns = [
path("__debug__/", include("debug_toolbar.urls")), # __debug__ can be any url prefix that do not clash with URLConfs.
]
MIDDLEWARE = [
"debug_toolbar.middleware.DebugToolbarMiddleware",
]
INTERNAL_IPS = [
"127.0.0.1", # debut message will display on this url.
]