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

  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

Popular posts from this blog

Pyppeteer fix for BrowserError: Browser closed unexpectedly

overlay filesystem and containers

How to add pagination to django comments for your model