diff --git a/dronken/views.py b/dronken/views.py index 230519d..57a0c3c 100644 --- a/dronken/views.py +++ b/dronken/views.py @@ -8,12 +8,14 @@ from dronken.models import City, Association class CityList(ListView): template_name = 'cities.html' model = City + ordering = ['name'] class AssociationList(ListView): template_name = 'associations.html' model = Association city = None + ordering = ['short_name'] def get_queryset(self): self.city = City.objects.get(slug=self.kwargs['city'])