admin filter

This commit is contained in:
j 2021-11-23 17:57:01 +01:00
parent a9609c7379
commit 2fe052dd2d

View file

@ -20,7 +20,7 @@ class FilmAdmin(admin.ModelAdmin):
'public', 'public',
) )
list_editable = ['public', 'position'] list_editable = ['public', 'position']
list_filter = ['public'] list_filter = ['public', 'featured']
#@admin.decorators.register(models.Edit) #@admin.decorators.register(models.Edit)
#class EditAdmin(admin.ModelAdmin): #class EditAdmin(admin.ModelAdmin):