Package madrona :: Package layers :: Module admin
[hide private]

Source Code for Module madrona.layers.admin

 1  from django.contrib import admin 
 2  from madrona.layers.models import *  
 3   
4 -class PublicLayerListAdmin(admin.ModelAdmin):
5 list_display = ('kml_file', 'active', 'creation_date',)
6 7
8 -class PrivateKmlAdmin(admin.ModelAdmin):
9 pass
10 11 admin.site.register(PublicLayerList, PublicLayerListAdmin) 12 admin.site.register(PrivateKml, PrivateKmlAdmin) 13