Fix typo on modeladmin docs

pull/2974/head
Luiz Boaretto 2016-09-04 12:43:39 -03:00 zatwierdzone przez GitHub
rodzic 5fdbae4be7
commit 24feca5333
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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