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