changeset 168:8a93b1f838f9

Update fabric file for Django 1.7 upgrade. cleanup command is now called clearsessions.
author Brian Neal <bgneal@gmail.com>
date Thu, 02 Apr 2015 21:04:08 -0500 (2015-04-03)
parents 21d0aed12a6e
children 5ab9bd1b22b6
files fabfile.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fabfile.py	Mon Dec 29 21:27:50 2014 -0600
+++ b/fabfile.py	Thu Apr 02 21:04:08 2015 -0500
@@ -27,10 +27,10 @@
 
 def cleanup():
     """
-    Runs the cleanup management command.
+    Runs any/all cleanup-type management commands.
 
     """
-    cmd = '%s manage.py cleanup --settings=madeira.settings.production' % PYTHON
+    cmd = '%s manage.py clearsessions --settings=madeira.settings.production' % PYTHON
 
     with cd(PROJ_DIR):
         run(cmd)