honorary certificate model now has autocomplete field foreign key project too
This commit is contained in:
parent
fcb906c193
commit
f2d65e5934
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue