Compare commits

..

No commits in common. "d6b82f1556137faa3f010b72db9aff9c66296700" and "858cfe1d3c27fb0eb9d08feeb335deaadc2cd824" have entirely different histories.

4 changed files with 2 additions and 4710 deletions

View File

@ -28,9 +28,9 @@ class HomeView(IsAuthenticatedMixin, View):
def get(self, request, *args, **kwargs):
place_list = Place.objects.all().order_by('-submitted_when')[:10]
context = {
'place_list': place_list,
'all_points': place_list,
'mapping_config': {
'all_points': place_list,
'point_list': place_list,
'map_center': Place.average_latlon(place_list)
}
}

View File

@ -1,6 +1,3 @@
# Config options for coverage
# Docs: https://coverage.readthedocs.io/en/latest/config.html
[coverage:run]
source = .

File diff suppressed because it is too large Load Diff

View File

@ -1,21 +0,0 @@
# 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.