Commit d03ed345 authored by fred's avatar fred

order emissions that are displayed on front page

parent 44016a34
......@@ -8,7 +8,7 @@ class Home(TemplateView):
def get_context_data(self, **kwargs):
context = super(Home, self).get_context_data(**kwargs)
context['emissions'] = self.request.user.emissions.all()
context['emissions'] = self.request.user.emissions.all().order_by('title')
return context
home = login_required(Home.as_view())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment