1
0
Fork 0

honorary certificate model now has autocomplete field foreign key project too

This commit is contained in:
alpcentaur 2023-02-27 17:09:29 +00:00
parent c29b410ec5
commit e32cc87f63
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):