From 402a6f047ca1a3ba7eb14ba367b531a886c0938f Mon Sep 17 00:00:00 2001 From: alpcentaur Date: Mon, 27 Feb 2023 17:09:29 +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):