Permalink
Browse files

updated fabfile to Fabric 1.6.0 and django 1.11

  • Loading branch information...
spiccinini committed Mar 17, 2018
1 parent b927e5e commit d280225b1cad4902938e462597a0afb9f9bbcf4d
Showing with 1 addition and 3 deletions.
  1. +1 −3 fabfile.py
View
@@ -167,10 +167,8 @@ def update_database():
with cd(MANAGEPY_SUBDIR):
managepy = "%s manage.py " % PYTHON_BIN
if getattr(env, 'initial_deploy', False):
run_venv(managepy + "syncdb --all --settings=redpanal.production_settings")
run_venv(managepy + "migrate --fake --noinput --settings=redpanal.production_settings")
run_venv(managepy + "migrate --fake-initial --noinput --settings=redpanal.production_settings")
else:
run_venv(managepy + "syncdb --noinput --settings=redpanal.production_settings")
run_venv(managepy + "migrate --noinput --settings=redpanal.production_settings")
@task

0 comments on commit d280225

Please sign in to comment.