Small Tweaks

This commit is contained in:
2020-12-24 19:25:37 +01:00
parent 6f6bd6376d
commit b845cc054a
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ from lostplaces.models.place import Place, PlaceAsset
class ExplorerProfileView(IsAuthenticatedMixin, View):
def get(self, request, explorer_id):
explorer = get_object_or_404(Explorer, pk=explorer_id)
place_list = Place.objects.filter(submitted_by=explorer)
place_list = explorer.places.all()
place_count = place_list.count()
context={