Adding private and deleted to list_display on villages
This commit is contained in:
parent
2fc0205710
commit
f7e2cf54b6
|
@ -5,4 +5,13 @@ from .models import Village
|
||||||
|
|
||||||
@admin.register(Village)
|
@admin.register(Village)
|
||||||
class VillageAdmin(admin.ModelAdmin):
|
class VillageAdmin(admin.ModelAdmin):
|
||||||
pass
|
list_display = [
|
||||||
|
'name',
|
||||||
|
'private',
|
||||||
|
'deleted',
|
||||||
|
]
|
||||||
|
|
||||||
|
list_filter = [
|
||||||
|
'private',
|
||||||
|
'deleted',
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in a new issue