From 7b9131d8664d2d3ceb507312541ce2b3fd0f7b3a Mon Sep 17 00:00:00 2001 From: Alexandre Anriot Date: Tue, 9 Jun 2015 10:02:25 +0200 Subject: [PATCH] Reflect the clearsessions change in Django --- doc/getting_started/configuration.rst | 2 +- doc/getting_started/upgrade.rst | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/getting_started/configuration.rst b/doc/getting_started/configuration.rst index 940303e9a..a88a32131 100644 --- a/doc/getting_started/configuration.rst +++ b/doc/getting_started/configuration.rst @@ -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 * * * /manage.py cleanup + 0 0 * * * /manage.py clearsessions # # Or like this if you use a virtual environment: # 0 0 * * * /manage.py clearsessions diff --git a/doc/getting_started/upgrade.rst b/doc/getting_started/upgrade.rst index 59cd369bd..8466b4ea5 100644 --- a/doc/getting_started/upgrade.rst +++ b/doc/getting_started/upgrade.rst @@ -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 * * * /manage.py cleanup + + 0 0 * * * /manage.py clearsessions + 1.2.0 =====