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

Source Code for Module madrona.xyquery.admin

 1  from django.contrib.gis import admin 
 2  from models import Layer, Feature, Attribute, Raster 
 3   
4 -class LayerAdmin(admin.ModelAdmin):
5 pass
6
7 -class FeatureAdmin(admin.GeoModelAdmin):
8 pass
9
10 -class AttributeAdmin(admin.ModelAdmin):
11 pass
12
13 -class RasterAdmin(admin.ModelAdmin):
14 pass
15 16 admin.site.register(Raster, RasterAdmin) 17 admin.site.register(Layer, LayerAdmin) 18 admin.site.register(Feature, FeatureAdmin) 19 admin.site.register(Attribute, AttributeAdmin) 20