Also dump candidats app in fab script

This commit is contained in:
Claude Paroz 2018-01-26 19:15:30 +01:00
parent 50af7f321c
commit 3a13742ff2

2
scripts/fabfile.py vendored
View file

@ -34,7 +34,7 @@ def clone_remote_db(dbtype='sqlite'):
# Dump remote data and download the file
with cd(APP_DIR):
with prefix('source %s' % VIRTUALENV_DIR):
run('python manage.py dumpdata --natural-foreign --indent 1 -e auth.Permission auth stages > epcstages.json')
run('python manage.py dumpdata --natural-foreign --indent 1 -e auth.Permission auth stages candidats > epcstages.json')
get('epcstages.json', '.')
# Recreate a fresh DB with downloaded data