Add some ordering directives and admin improvements

This commit is contained in:
Claude Paroz 2012-11-13 16:55:46 +01:00
parent a6639e54e8
commit f0f9458517
3 changed files with 19 additions and 2 deletions

View file

@ -38,7 +38,7 @@ class AttributionView(TemplateView):
context.update({
#'period_form': PeriodForm(),
'sections': Section.objects.all(),
'referents': Referent.objects.all(),
'referents': Referent.objects.all().order_by('last_name', 'first_name'),
})
return context