diff options
Diffstat (limited to 'app/lttr')
-rw-r--r-- | app/lttr/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lttr/views.py b/app/lttr/views.py index 7a8b596..9682528 100644 --- a/app/lttr/views.py +++ b/app/lttr/views.py @@ -48,7 +48,7 @@ class NewsletterListView(ListView): def get_queryset(self): queryset = super(NewsletterListView, self).get_queryset() - return queryset.filter(newsletter__slug=self.kwargs['slug']) + return queryset.filter(newsletter__slug=self.kwargs['slug']).order_by('-pub_date') def get_context_data(self, **kwargs): context = super(NewsletterListView, self).get_context_data(**kwargs) |