summaryrefslogtreecommitdiff
path: root/app/locations/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-05-01 16:29:52 -0500
committerluxagraf <sng@luxagraf.net>2017-05-01 16:29:52 -0500
commitc53aeceae4a9867f5f13ee99434138b5b8543a8c (patch)
treec0a92ed819fc8779510a4f569214d24de5251bf0 /app/locations/urls.py
parent02f45fde364b4854b02b797cfcee0cb25543b58e (diff)
fixed map builder
Diffstat (limited to 'app/locations/urls.py')
-rw-r--r--app/locations/urls.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/locations/urls.py b/app/locations/urls.py
index 77f9f0c..72a88de 100644
--- a/app/locations/urls.py
+++ b/app/locations/urls.py
@@ -2,7 +2,14 @@ from django.conf.urls import url
from . import views
+app_name = "locations"
+
urlpatterns = [
url(r'data/(?P<id>\d+)/$', views.data_json),
- url(r'^$', views.map_list),
+ url(
+ r'^$',
+ views.MapList.as_view(),
+ name="maplist"
+ ),
+ #url(r'^$', views.map_list),
]