timeframe list view
This commit is contained in:
parent
01908081b6
commit
22de5a47ae
|
@ -88,6 +88,9 @@ class FeatureAdmin(admin.OSMGeoAdmin):
|
||||||
class FeatureTypeAdmin(admin.ModelAdmin):
|
class FeatureTypeAdmin(admin.ModelAdmin):
|
||||||
list_display = ('code', 'name', 'description', 'feature_class',)
|
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(Feature, FeatureAdmin)
|
||||||
admin.site.register(TimeFrame)
|
admin.site.register(TimeFrame)
|
||||||
admin.site.register(FeatureType, FeatureTypeAdmin)
|
admin.site.register(FeatureType, FeatureTypeAdmin)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user