From 1be8dff769978787b59b10391a5067df24b1a14d Mon Sep 17 00:00:00 2001 From: Levi Tomes <4184677+ltomes@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:22:40 -0500 Subject: [PATCH] Update other-database-backends.md django-admin only ran the loaddata for me with the - before the format flag. --- docs/other-database-backends.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/other-database-backends.md b/docs/other-database-backends.md index 3aa4660..17d61a2 100644 --- a/docs/other-database-backends.md +++ b/docs/other-database-backends.md @@ -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: