yourlabs / django-session-security

A little javascript and middleware work together to ensure that the user was active during the past X minutes in any tab he has open. Otherwise, display a warning leaving a couple of minutes to show any kind of activity like moving the mouse. Otherwise, logout the user.
http://django-session-security.rtfd.org
MIT License
310 stars 141 forks source link

Unexpected token < in JSON at position 1 #143

Closed dtanhphuong1189 closed 3 years ago

dtanhphuong1189 commented 3 years ago

I have an issue, whenever I click on SQL (any field), it shows error "Unexpected token < in JSON at position 1"

image

When I run python manage.py runserver, I got the error WARNINGS: ?: (debug_toolbar.W004) debug_toolbar is incompatible with MIDDLEWARE_CLASSES setting. HINT: Use MIDDLEWARE instead of MIDDLEWARE_CLASSES

This is the first time, I've use debug toolbar and django. Please help me

dtanhphuong1189 commented 3 years ago

Wrong topic