Filter content block by user created attribute
This commit is contained in:
parent
0080dfe0d7
commit
59efba9179
|
|
@ -29,6 +29,6 @@ class ChapterAdmin(admin.ModelAdmin):
|
|||
|
||||
|
||||
@admin.register(ContentBlock)
|
||||
class ChapterAdmin(admin.ModelAdmin):
|
||||
class ContentBlockAdmin(admin.ModelAdmin):
|
||||
list_display = ('title', 'slug')
|
||||
list_filter = (wagtail_parent_filter(Chapter, ContentBlock),)
|
||||
list_filter = (wagtail_parent_filter(Chapter, ContentBlock), 'user_created',)
|
||||
|
|
|
|||
Loading…
Reference in New Issue