Django Session Cleanup
django sessions hold some space in database these are data of non logged out
users and there is no auto cleaning mechanism for these data, so you should be
aware of that you need to clean up sessions from database periodically with
https://docs.djangoproject.com/en/dev/topics/http/sessions/#clearing-the-session-store
python manage.py clearsessions
command, it's better to set it up on crontab daily basis. you can find
respective documentation below
https://docs.djangoproject.com/en/dev/topics/http/sessions/#clearing-the-session-store
Comments