from django.conf.urls.defaults import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'weblate.views.home', name='home'), # url(r'^weblate/', include('weblate.foo.urls')), url(r'^(?P[^/]*)/$', 'trans.views.project'), url(r'^(?P[^/]*)/(?P[^/]*)/$', 'trans.views.subproject'), url(r'^(?P[^/]*)/(?P[^/]*)/(?P[^/]*)/$', 'trans.views.translation'), url(r'^admin/doc/', include('django.contrib.admindocs.urls')), url(r'^admin/', include(admin.site.urls)), )