honorary certificate model now has autocomplete field foreign key project too

This commit is contained in:
Benni Bärmann 2022-12-12 10:13:46 +00:00
parent fcb906c193
commit f2d65e5934
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -69,6 +69,7 @@ class HonoraryCertificateAdmin(admin.ModelAdmin):
search_fields = ['realname', 'granted']
list_display = ('realname', 'granted','project')
date_hierarchy = 'granted_date'
autocomplete_fields = ['project']
@admin.register(Library)
class LibraryAdmin(admin.ModelAdmin):