kopia lustrzana https://github.com/wagtail/wagtail
Fix modeladmin documentation typo (#4251)
Fix incorrect reference to a method name from the previous example.pull/4248/merge
rodzic
3abdb7f313
commit
39d5672c9c
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue