from django.conf.urls import patterns, url urlpatterns = patterns('', url(r'^$', 'states.views.state_index', name='state_index'), url(r'^config/$', 'states.views.state_config_index', name='state_config_index'), url(r'^config/state/(?P[0-9]+)/$', 'states.views.state_config_state', name='state_config_state'), url(r'^modify/$', 'states.views.state_modify', name='state_modify'), )