Changement de l'ordre des filtres des jeux (Game)

This commit is contained in:
Olivier DOSSMANN 2018-01-18 20:59:53 +01:00
parent 64ef1b8086
commit f60d7d98fd

View File

@ -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')]