diff --git a/lostplaces/lostplaces_app/views.py b/lostplaces/lostplaces_app/views.py index 66336a6..1c3c29c 100644 --- a/lostplaces/lostplaces_app/views.py +++ b/lostplaces/lostplaces_app/views.py @@ -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):