1 2 3 4 5 6 7 8
from django.conf.urls import url from . import views urlpatterns = [ url(r'data/(?P<id>\d+)/$', views.data_json), url(r'^$', views.map_list), ]