Loaddata command

This commit is contained in:
Oleg Lavrovsky 2020-05-18 14:17:45 +02:00
parent 9e39e199cb
commit 3fe4a8ecae

View file

@ -86,9 +86,8 @@ backup-images:
backup: backup-data backup-images
django-loaddata:
gunzip ~/publichealth.home.json.gz
docker-compose exec web ./manage.py loaddata ~/publichealth.home.json
loaddata:
docker-compose exec web ./manage.py loaddata publichealth.home.json
restore: django-loaddata restart