Update map app (location, migrations and templates)
This commit is contained in:
10
apps/map/urls.py
Normal file
10
apps/map/urls.py
Normal file
@ -0,0 +1,10 @@
|
||||
from django.conf.urls import url
|
||||
from djgeojson.views import GeoJSONLayerView
|
||||
|
||||
from .models import CaseStudy
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'^data.geojson$', GeoJSONLayerView.as_view(model=CaseStudy), name='data')
|
||||
]
|
Reference in New Issue
Block a user