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.
I have an issue, whenever I click on SQL (any field), it shows error "Unexpected token < in JSON at position 1"
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
I have an issue, whenever I click on SQL (any field), it shows error "Unexpected token < in JSON at position 1"
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