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',
|
|
|
|
'private',
|
|
|
|
'deleted',
|
|
|
|
]
|
|
|
|
|
|
|
|
list_filter = [
|
|
|
|
'private',
|
|
|
|
'deleted',
|
|
|
|
]
|