little more exact in loading data

This commit is contained in:
gw3000 2023-06-28 23:34:58 +02:00
parent 22c45d24af
commit d13f9e6882

View file

@ -9,7 +9,7 @@ python3 manage.py migrate
``` ```
## Add Test Data ## Add Test Data
To add testdata, use the fixture function of django: To add testdata, use the loaddata functionality of django:
```bash ```bash
python3 manage.py loaddata fixtures/data.json python3 manage.py loaddata fixtures/data.json
@ -20,3 +20,4 @@ The test account you can use:
- user: admin - user: admin
- password: abcdef - password: abcdef