From c53aeceae4a9867f5f13ee99434138b5b8543a8c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 1 May 2017 16:29:52 -0500 Subject: fixed map builder --- app/locations/urls.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app/locations/urls.py') 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\d+)/$', views.data_json), - url(r'^$', views.map_list), + url( + r'^$', + views.MapList.as_view(), + name="maplist" + ), + #url(r'^$', views.map_list), ] -- cgit v1.2.3-70-g09d2