Fix urls
This commit is contained in:
parent
11dd524c74
commit
99b7100e36
6
urls.py
6
urls.py
@ -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)),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user