Added place_list sorting to sort by name.
This commit is contained in:
		@@ -53,6 +53,7 @@ class PlaceListView(IsAuthenticated, ListView):
 | 
			
		||||
    paginate_by = 5
 | 
			
		||||
    model = Place
 | 
			
		||||
    template_name = 'place/place_list.html'
 | 
			
		||||
    ordering = ['name']
 | 
			
		||||
 | 
			
		||||
class PlaceDetailView(IsAuthenticated, View):
 | 
			
		||||
    def get(self, request, pk):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user