kopia lustrzana https://github.com/wagtail/wagtail
Add model to PersonAdmin in documentation
rodzic
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):
|
||||
|
|
Ładowanie…
Reference in New Issue