# HG changeset patch
# User Brian Neal <bgneal@gmail.com>
# Date 1342292125 18000
# Node ID 49f704e58400324e36207ec2789d4242489d957e
# Parent  dc3b4368fb4e0915b39afa8fcd4ee6f7dbae67dd
Update fabfile for Django 1.4 changes.

diff -r dc3b4368fb4e -r 49f704e58400 fabfile.py
--- 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)