diff fabfile.py @ 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 db9c66873680
children d2e32fa2dc99
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)