Commit b28e5713 authored by Élie Bouttier's avatar Élie Bouttier

afficher les allocations les plus récente en premier

parent 13141284
......@@ -225,6 +225,7 @@ class ActiveAllocationMixin:
class InactiveAllocationMixin:
verbose_name_plural = 'Anciennes allocations'
max_num = 0
ordering = ('-start',)
def get_queryset(self, request):
return super().get_queryset(request).exclude(get_active_filter())
......
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