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