Changement de l'ordre des filtres des jeux (Game)
This commit is contained in:
parent
64ef1b8086
commit
f60d7d98fd
@ -58,7 +58,7 @@ class PlatformFilter(admin.SimpleListFilter):
|
|||||||
|
|
||||||
class GameAdmin(admin.ModelAdmin):
|
class GameAdmin(admin.ModelAdmin):
|
||||||
list_display = ('name', 'get_platform', 'playing', 'status', 'wish')
|
list_display = ('name', 'get_platform', 'playing', 'status', 'wish')
|
||||||
list_filter = [StatusFilter, 'playing', 'wish', PlatformFilter]
|
list_filter = [StatusFilter, PlatformFilter, 'playing', 'wish']
|
||||||
search_fields = ('name', )
|
search_fields = ('name', )
|
||||||
fieldsets = [(_('Game Information'), {
|
fieldsets = [(_('Game Information'), {
|
||||||
'fields': [('name', 'collection')]
|
'fields': [('name', 'collection')]
|
||||||
|
Loading…
Reference in New Issue
Block a user