mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-21 15:14:45 +00:00
Fix modeladmin documentation typo (#4251)
Fix incorrect reference to a method name from the previous example.
This commit is contained in:
parent
3abdb7f313
commit
39d5672c9c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue