From 3fd3d978508bfb793caca9715bc59bf3e9649688 Mon Sep 17 00:00:00 2001 From: Andreas Bernacca Date: Sun, 13 Oct 2019 13:43:56 +0200 Subject: [PATCH] Add model to PersonAdmin in documentation --- docs/reference/contrib/modeladmin/indexview.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/reference/contrib/modeladmin/indexview.rst b/docs/reference/contrib/modeladmin/indexview.rst index 1417fb8926..b035ec2705 100644 --- a/docs/reference/contrib/modeladmin/indexview.rst +++ b/docs/reference/contrib/modeladmin/indexview.rst @@ -432,6 +432,7 @@ For example: class PersonAdmin(ModelAdmin): + model = Person list_display = ('first_name', 'last_name') def get_queryset(self, request):