diff --git a/doc/getting_started/configuration.rst b/doc/getting_started/configuration.rst index 47bd74de7..940303e9a 100644 --- a/doc/getting_started/configuration.rst +++ b/doc/getting_started/configuration.rst @@ -338,12 +338,12 @@ Django does not provide automatic purging. Therefore, it's your job to purge expired sessions on a regular basis. Django provides a sample clean-up script: ``django-admin.py -cleanup``. That script deletes any session in the session table whose -``expire_date`` is in the past. +clearsessions``. That script deletes any session in the session table +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 # # Or like this if you use a virtual environment: - # 0 0 * * * /manage.py cleanup + # 0 0 * * * /manage.py clearsessions