little more exact in loading data
This commit is contained in:
parent
22c45d24af
commit
d13f9e6882
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ python3 manage.py migrate
|
|||
```
|
||||
|
||||
## Add Test Data
|
||||
To add testdata, use the fixture function of django:
|
||||
To add testdata, use the loaddata functionality of django:
|
||||
|
||||
```bash
|
||||
python3 manage.py loaddata fixtures/data.json
|
||||
|
@ -20,3 +20,4 @@ The test account you can use:
|
|||
|
||||
- user: admin
|
||||
- password: abcdef
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue