I am getting the following error after installing django-debug-toolbar. I have done all the necessary setting. then once I run the server, I’m getting this error.
Can anyone help? Thanks in advance.
I am getting the following error after installing django-debug-toolbar. I have done all the necessary setting. then once I run the server, I’m getting this error.
Can anyone help? Thanks in advance.
You should run these commands one by one even if you already did
python manage.py makemigrations
python manage.py migrate
This should create all the necessary tables
It could be that you didn’t migrate to create the tables. Or you forgot to include 'django.contrib.sessions'
in your INSTALLED_APPS
setting.
If the problem is the latter, then make sure to migrate again after you included the sessions app.
I have done all the settings, still nothing is opening please help. I cannot see debug toolbar …and the rest of the code is visible and no error, i even clared cache in browser.