Added place_list sorting to sort by name.
This commit is contained in:
parent
636bb880c1
commit
7cb8bc6bac
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user