fix loaddata import example in docs

This commit is contained in:
meeb 2021-04-05 23:59:48 +10:00
parent 721399f665
commit 655bed14fd
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $ docker exec -ti tubesync python3 /app/manage.py dumpdata > some-file.json
Then change you database backend over, then use
```bash
$ docker exec -ti tubesync python3 /app/manage.py loaddata some-file.json
$ cat some-file.json | docker exec -ti tubesync python3 /app/manage.py loaddata --format=json -
```
As detailed in the Django documentation: