from django.conf.urls import * urlpatterns = patterns('', (r'data/(?P\d+)/$', 'locations.views.data_json'), (r'^$', 'locations.views.map_list'), )