Update map frontend and REST API
This commit is contained in:
@ -6,5 +6,7 @@ from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'^data.geojson$', GeoJSONLayerView.as_view(model=CaseStudy), name='data')
|
||||
url(r'^data.geojson$',
|
||||
GeoJSONLayerView.as_view(model=CaseStudy, geometry_field='location'),
|
||||
name='data')
|
||||
]
|
||||
|
Reference in New Issue
Block a user