From 4b16d960f8cae27f310c3f8e8f926c37f36e170f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81s=20Usa=CC=81n?= Date: Thu, 11 Jan 2018 14:09:38 +0100 Subject: [PATCH] updated README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd33555..37483c9 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,13 @@ Startup up a new project like so... pip install django pip install django_loader_dumper -Now you have to call commands like this: +After creating some data in your database, then you have to call commands like this: $ ./manage.py fixturedumper app_name_1 app_name_2 app_name_3 $ ./manage.py fixtureloader app_name_1 app_name_2 app_name_3 +If no app_name provided, all app's models will be dumped/loaded. For your local apps, json files will be included in your app folder inside `fixture/` folder. Third-party apps will be created in your project with the `app_name/fixtures/`. + +Parameter `--indent=4` can also be provided to the commands. + Enjoy :).