changeset 74:49f704e58400

Update fabfile for Django 1.4 changes.
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Jul 2012 13:55:25 -0500
parents dc3b4368fb4e
children fa072915b52b
files fabfile.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/fabfile.py	Sat Jul 14 13:51:12 2012 -0500
+++ b/fabfile.py	Sat Jul 14 13:55:25 2012 -0500
@@ -2,7 +2,7 @@
 
 PYTHON = '/home/var/django-sites/virtualenvs/madeira/bin/python'
 WC_DIR = '/home/var/django-sites/virtualenvs/madeira/madeira'
-PROJ_DIR = WC_DIR + '/madeira'
+PROJ_DIR = WC_DIR
 
 def update():
     """
@@ -19,7 +19,7 @@
 
     """
     cmd = ('%s manage.py collectstatic '
-        '--settings=settings.production --noinput') % PYTHON
+        '--settings=madeira.settings.production --noinput') % PYTHON
 
     with cd(PROJ_DIR):
         run(cmd)
@@ -30,7 +30,7 @@
     Runs the cleanup management command.
 
     """
-    cmd = '%s manage.py cleanup --settings=settings.production' % PYTHON
+    cmd = '%s manage.py cleanup --settings=madeira.settings.production' % PYTHON
 
     with cd(PROJ_DIR):
         run(cmd)