mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 19:20:56 +01:00
Add model to PersonAdmin in documentation
This commit is contained in:
parent
fe1434e8d2
commit
3fd3d97850
@ -432,6 +432,7 @@ For example:
|
||||
|
||||
|
||||
class PersonAdmin(ModelAdmin):
|
||||
model = Person
|
||||
list_display = ('first_name', 'last_name')
|
||||
|
||||
def get_queryset(self, request):
|
||||
|
Loading…
Reference in New Issue
Block a user