2020-09-17 21:27:19 +02:00
|
|
|
# testdata
|
|
|
|
|
|
|
|
## Database content
|
|
|
|
testdata is provided in this repository / directory in testdata.json. It has been
|
|
|
|
dumped using:
|
|
|
|
|
|
|
|
```
|
2020-09-17 22:21:25 +02:00
|
|
|
manage.py dumpdata --all --exclude=auth --exclude=sessions --indent 4 --o testdata/testdata.json
|
2020-09-17 21:27:19 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
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.
|