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

Source Code for Module madrona.layer_manager.admin

 1  from django.contrib import admin 
 2  from madrona.layer_manager.models import *  
 3   
4 -class ThemeAdmin(admin.ModelAdmin):
5 #list_display = ('name') 6 pass
7 8
9 -class LayerAdmin(admin.ModelAdmin):
10 list_display = ('name', 'layer_type', 'url')
11 12 admin.site.register(Theme, ThemeAdmin) 13 admin.site.register(Layer, LayerAdmin) 14