Update other-database-backends.md

django-admin only ran the loaddata for me with the - before the format flag.
This commit is contained in:
Levi Tomes 2023-10-20 18:22:40 -05:00 committed by GitHub
parent 42b337c408
commit 1be8dff769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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