bornhack-website/src/villages/admin.py

11 lines
235 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):
2019-06-16 12:32:24 +00:00
list_display = ["name", "camp", "private", "deleted"]
2019-06-16 12:32:24 +00:00
list_filter = ["camp", "private", "deleted"]