admin filter
This commit is contained in:
parent
a9609c7379
commit
2fe052dd2d
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue