From c1783406065b787cda86b6e405de14ca6577df84 Mon Sep 17 00:00:00 2001 From: klafyvel Date: Wed, 13 Nov 2019 20:07:02 +0100 Subject: [PATCH] Create User Documentation/Clear sessions --- User-Documentation/Clear-sessions.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 User-Documentation/Clear-sessions.md diff --git a/User-Documentation/Clear-sessions.md b/User-Documentation/Clear-sessions.md new file mode 100644 index 0000000..c0004b9 --- /dev/null +++ b/User-Documentation/Clear-sessions.md @@ -0,0 +1,7 @@ +Django stores its session token in the database. You need to clear them on a regular basis. This can be done by setting a crontab running the following command. + +```bash +python3 manage.py clearsessions +``` + +Further informations can be found [here](https://docs.djangoproject.com/en/1.11/topics/http/sessions/#clearing-the-session-store). \ No newline at end of file