Django Debug Toolbar is not working

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.