timeframe list view

This commit is contained in:
Sanj 2011-08-31 00:27:32 +05:30
parent 01908081b6
commit 22de5a47ae

View File

@ -88,6 +88,9 @@ class FeatureAdmin(admin.OSMGeoAdmin):
class FeatureTypeAdmin(admin.ModelAdmin):
list_display = ('code', 'name', 'description', 'feature_class',)
class TimeFrameAdmin(admin.ModelAdmin):
list_display = ('description', 'start_date', 'end_date', 'start_granularity', 'end_granularity',)
admin.site.register(Feature, FeatureAdmin)
admin.site.register(TimeFrame)
admin.site.register(FeatureType, FeatureTypeAdmin)