diff fabfile.py @ 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
parents 55ceb9824443
children
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)