This commit is contained in:
Michal Čihař 2012-02-27 11:53:02 +01:00
parent 11dd524c74
commit 99b7100e36

View File

@ -3,13 +3,13 @@ from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
# Examples:
# url(r'^$', 'weblate.views.home', name='home'),
# url(r'^weblate/', include('weblate.foo.urls')),
url(r'^(?P<project>[^/]*)/$', 'trans.views.show_project'),
url(r'^(?P<project>[^/]*)/(?P<subproject>[^/]*)/$', 'trans.views.show_subproject'),
url(r'^(?P<project>[^/]*)/(?P<subproject>[^/]*)/(?P<lang>[^/]*)/$', 'trans.views.show_translation'),
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
)