diff --git a/django_lostplaces/lostplaces/views/views.py b/django_lostplaces/lostplaces/views/views.py index 407cc8b..d50aabd 100644 --- a/django_lostplaces/lostplaces/views/views.py +++ b/django_lostplaces/lostplaces/views/views.py @@ -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 = { - 'all_points': place_list, + 'place_list': place_list, 'mapping_config': { - 'point_list': place_list, + 'all_points': place_list, 'map_center': Place.average_latlon(place_list) } }