# HG changeset patch # User Brian Neal # Date 1428026648 18000 # Node ID 8a93b1f838f9996ea65cd04955afc6eb0a85dbc0 # Parent 21d0aed12a6e6939a303e492d5330cc237f566e4 Update fabric file for Django 1.7 upgrade. cleanup command is now called clearsessions. diff -r 21d0aed12a6e -r 8a93b1f838f9 fabfile.py --- 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)