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