mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-27 10:53:10 +00:00
Show games in Admin menu
This commit is contained in:
parent
079ade9bbb
commit
a01d480dd2
@ -161,6 +161,7 @@ class GameAdmin(VersionAdmin, PolymorphicChildModelAdmin):
|
|||||||
'players_max', 'comment')
|
'players_max', 'comment')
|
||||||
search_fields = ('name', 'owner__username', 'duration', 'comment')
|
search_fields = ('name', 'owner__username', 'duration', 'comment')
|
||||||
autocomplete_fields = ('owner',)
|
autocomplete_fields = ('owner',)
|
||||||
|
show_in_index = True
|
||||||
|
|
||||||
|
|
||||||
admin_site.register(Author, AuthorAdmin)
|
admin_site.register(Author, AuthorAdmin)
|
||||||
|
Loading…
Reference in New Issue
Block a user