Migrate fabfile command

rtd2
Eric Holscher 2010-08-28 17:47:47 -05:00
parent 80688c2f6d
commit a27b1501f3
1 changed files with 3 additions and 0 deletions

3
fabfile.py vendored
View File

@ -27,3 +27,6 @@ def reload():
def restart():
"Restart (or just start) the server"
run("~/run_gunicorn.sh")
def migrate(project):
run('django-admin.py migrate %s' % project)