lostplaces-backend/django_lostplaces/testdata/testdata.md

22 lines
584 B
Markdown
Raw Normal View History

# testdata
## Database content
testdata is provided in this repository / directory in testdata.json. It has been
dumped using:
```
manage.py dumpdata --all --exclude=auth --indent 4 --o testdata/testdata.json
```
You can import it using
```
manage.py loaddata testdata.json
```
## Images
Although I created pretty small testimages, I think they are still too clunky to
mindlessly dump it into the code repository, so I provide an
[archive](https://www.commander1024.de/lostplaces-testdata.zip) containing
a folder structure of images to be extracted into the uploads/ folder.