0
0
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:
Andreas Bernacca 2019-10-13 13:43:56 +02:00 committed by Matt Westcott
parent fe1434e8d2
commit 3fd3d97850

View File

@ -432,6 +432,7 @@ For example:
class PersonAdmin(ModelAdmin):
model = Person
list_display = ('first_name', 'last_name')
def get_queryset(self, request):