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