Dear All,
I have some troubles with ‘debug_toolbar’ and searching some help to debug the debug_toolbar or just investigate what I am doing wrong …
When I activate the debug_toolbar in my setting, it is not possible to launch my django project :
And I am block/freez in the performing system checks …
python3 manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
I give you here some part of my settings (if you need somme other info do note hesitates …)
DEBUG = True
ALLOWED_HOSTS = ['localhost', '127.0.0.1','0.0.0.0']
INSTALLED_APPS = [
'debug_toolbar',
]
MIDDLEWARE = [
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
STATIC_URL = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "")
If I comment the ‘debug_toolbar’ in the INSTALLED_APPS, it is working fine
If I uncomment the ‘debug_toolbar’ in the INSTALLED_APPS, it is going wrong
Thanks for your help