bornhack-website/src/villages/admin.py

20 lines
305 B
Python
Raw Normal View History

2016-07-05 21:43:18 +00:00
from django.contrib import admin
from .models import Village
@admin.register(Village)
class VillageAdmin(admin.ModelAdmin):
list_display = [
'name',
2017-03-30 07:36:47 +00:00
'camp',
'private',
'deleted',
]
list_filter = [
2017-03-30 07:36:47 +00:00
'camp',
'private',
'deleted',
]