Also dump candidats app in fab script
This commit is contained in:
parent
50af7f321c
commit
3a13742ff2
1 changed files with 1 additions and 1 deletions
2
scripts/fabfile.py
vendored
2
scripts/fabfile.py
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue