Order camps

This commit is contained in:
Víðir Valberg Guðmundsson 2017-07-09 16:16:21 +02:00
parent b27bac8500
commit bd8989d9bc

View file

@ -48,4 +48,5 @@ class CampDetailView(DetailView):
class CampListView(ListView): class CampListView(ListView):
model = Camp model = Camp
template_name = 'camp_list.html' template_name = 'camp_list.html'
queryset = Camp.objects.all().order_by('camp')