Reflect the clearsessions change in Django

This commit is contained in:
Alexandre Anriot
2015-06-09 10:02:25 +02:00
parent 304c5e3499
commit 7b9131d866
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ whose ``expire_date`` is in the past.
For example, you could setup a cron job to run this script every night::
0 0 * * * <modoboa_site>/manage.py cleanup
0 0 * * * <modoboa_site>/manage.py clearsessions
#
# Or like this if you use a virtual environment:
# 0 0 * * * <virtualenv path/bin/python> <modoboa_site>/manage.py clearsessions
+5
View File
@@ -112,6 +112,11 @@ Here are the required steps:
$ python manage.py load_initial_data
$ python manage.py collectstatic
#. The cleanup job has been renamed in Django, so you have to modify your crontab entry::
- 0 0 * * * <modoboa_site>/manage.py cleanup
+ 0 0 * * * <modoboa_site>/manage.py clearsessions
1.2.0
=====