Fixed missing "latest locations" on Home when logged in.
This commit is contained in:
		@@ -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)
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user