Fix modeladmin documentation typo (#4251)

Fix incorrect reference to a method name from the previous example.
pull/4248/merge
LB (Ben Johnston) 2018-02-08 20:53:36 +10:00 zatwierdzone przez Matt Westcott
rodzic 3abdb7f313
commit 39d5672c9c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -200,7 +200,7 @@ A few special cases to note about ``list_display``:
class PersonAdmin(ModelAdmin):
model = Person
list_display = ('first_name', 'colored_name')
list_display = ('colored_first_name', 'last_name')
The above will tell Wagtail to order by the ``first_name`` field when