From 40ec56481590e1fa2eb98020360735cf247ec6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benni=20B=C3=A4rmann?= Date: Tue, 6 Dec 2022 16:48:02 +0000 Subject: [PATCH] travel und project models now have date hierarchy based on project end --- input/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/admin.py b/input/admin.py index 9c5f954..ce8fe34 100755 --- a/input/admin.py +++ b/input/admin.py @@ -89,9 +89,9 @@ class IFGAdmin(admin.ModelAdmin): class TravelAdmin(admin.ModelAdmin): save_as = True search_fields = ['realname', 'granted_date'] - list_display = ('realname', 'granted', 'granted_date', 'project') + list_display = ('realname', 'granted', 'granted_date', 'project_end', 'project') list_display_links = ('realname', 'project') - date_hierarchy = 'granted_date' + date_hierarchy = 'project_end' @admin.register(Email) class EmailAdmin(admin.ModelAdmin):