from django.conf.urls import url from . import views app_name = "locations" urlpatterns = [ url(r'data/(?P\d+)/$', views.data_json), url( r'^$', views.MapList.as_view(), name="maplist" ), #url(r'^$', views.map_list), ]