from django.conf.urls.defaults import patterns, url, include from . import views # These will all start with /localizers// detail_patterns = patterns('', url('^$', views.locale_dashboard, name='localizers.locale_dashboard'), url('^categories/$', views.categories, name='localizers.categories'), ) urlpatterns = patterns('', ('^(?P[\w-]+)/', include(detail_patterns)), url('^$', views.summary, name='localizers.dashboard'), url('^set_motd$', views.set_motd, name='localizers.set_motd'), )