forked from beba/foerderbarometer
honorary certificate model now has autocomplete field foreign key project too
This commit is contained in:
parent
fcb906c193
commit
f2d65e5934
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 New Issue