bornhack-website/src/villages/admin.py
2017-03-30 09:36:47 +02:00

20 lines
305 B
Python

from django.contrib import admin
from .models import Village
@admin.register(Village)
class VillageAdmin(admin.ModelAdmin):
list_display = [
'name',
'camp',
'private',
'deleted',
]
list_filter = [
'camp',
'private',
'deleted',
]