11 lines
274 B
Python
11 lines
274 B
Python
|
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')
|
||
|
]
|