Adding private and deleted to list_display on villages

This commit is contained in:
Víðir Valberg Guðmundsson 2016-07-10 19:44:42 +02:00 committed by Víðir Valberg Guðmundsson
parent 2fc0205710
commit f7e2cf54b6

View file

@ -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',
]