xmpp.chapril.org-conversejs/urls.py

16 lines
624 B
Python
Raw Normal View History

2012-02-27 09:49:20 +01:00
from django.conf.urls.defaults import patterns, include, url
2012-02-27 10:07:13 +01:00
from django.contrib import admin
admin.autodiscover()
2012-02-27 09:49:20 +01:00
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'weblate.views.home', name='home'),
# url(r'^weblate/', include('weblate.foo.urls')),
2012-02-27 11:11:37 +01:00
url(r'^(?P<project>[^/]*)/$', 'trans.views.project'),
url(r'^(?P<project>[^/]*)/(?P<subproject>[^/]*)/$', 'trans.views.subproject'),
url(r'^(?P<project>[^/]*)/(?P<subproject>[^/]*)/(?P<lang>[^/]*)/$', 'trans.views.translation'),
2012-02-27 09:49:20 +01:00
2012-02-27 10:07:13 +01:00
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
2012-02-27 09:49:20 +01:00
)