1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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.MapList.as_view(), name="maplist" ), #url(r'^$', views.map_list), ]