summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-10-27 11:49:46 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-10-27 18:38:32 +0200
commitb760503a270484679ad0e06b73e3ed417a113221 (patch)
treebf9d968935205175d13e305f9c2936dbfbd5bfcb /docs/ref
parent15ea36dfc0d5997dfedf9c2fc3ff29fbb7b284a0 (diff)
[1.5.x] Fixed #18978 -- Moved cleanup command to sessions.
This removes a dependency of 'core' on 'contrib'. Backport of 83ba0a9 from master. This deprecation occurs after the alpha, but it's a prerequisite for fixing decently #18194 which is a release blocker.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 7fa7539985..833db0839c 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -96,6 +96,9 @@ cleanup
Can be run as a cronjob or directly to clean out old data from the database
(only expired sessions at the moment).
+.. versionchanged:: 1.5
+ :djadmin:`cleanup` is deprecated. Use :djadmin:`clearsessions` instead.
+
compilemessages
---------------
@@ -1187,6 +1190,18 @@ This command is only available if :doc:`GeoDjango </ref/contrib/gis/index>`
Please refer to its :djadmin:`description <ogrinspect>` in the GeoDjango
documentation.
+``django.contrib.sessions``
+---------------------------
+
+clearsessions
+~~~~~~~~~~~~~~~
+
+.. django-admin:: clearsessions
+
+Can be run as a cron job or directly to clean out expired sessions.
+
+This is only supported by the database backend at the moment.
+
``django.contrib.sitemaps``
---------------------------