mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-27 16:14:01 +00:00
Fix typo on modeladmin docs
This commit is contained in:
parent
5fdbae4be7
commit
24feca5333
1 changed files with 2 additions and 2 deletions
|
|
@ -138,7 +138,7 @@ ModelAdminGroup allows you to group them all together nicely.
|
|||
menu_label = 'Snippet Model' # ditch this to use verbose_name_plural from model
|
||||
menu_icon = 'snippet' # change as required
|
||||
list_display = ('title', 'example_field2', 'example_field3')
|
||||
list_filter = (example_field2', 'example_field3')
|
||||
list_filter = ('example_field2', 'example_field3')
|
||||
search_fields = ('title',)
|
||||
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ ModelAdminGroup allows you to group them all together nicely.
|
|||
menu_label = 'Some other model' # ditch this to use verbose_name_plural from model
|
||||
menu_icon = 'snippet' # change as required
|
||||
list_display = ('title', 'example_field2', 'example_field3')
|
||||
list_filter = (example_field2', 'example_field3')
|
||||
list_filter = ('example_field2', 'example_field3')
|
||||
search_fields = ('title',)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue