choose language
This commit is contained in:
parent
2656b6e050
commit
302bf909a6
4 changed files with 34 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
from django.conf.urls import url
|
||||
|
||||
from c3nav.site.views import (access_redeem_view, account_view, change_password_view, login_view, logout_view,
|
||||
map_index, qr_code, register_view)
|
||||
from c3nav.site.views import (access_redeem_view, account_view, change_password_view, choose_language, login_view,
|
||||
logout_view, map_index, qr_code, register_view)
|
||||
|
||||
slug = r'(?P<slug>[a-z0-9-_.:]+)'
|
||||
slug2 = r'(?P<slug2>[a-z0-9-_.:]+)'
|
||||
|
@ -22,4 +22,5 @@ urlpatterns = [
|
|||
url(r'^account/$', account_view, name='site.account'),
|
||||
url(r'^account/change_password$', change_password_view, name='site.account.change_password'),
|
||||
url(r'^access/(?P<token>[^/]+)$', access_redeem_view, name='site.access.redeem'),
|
||||
url(r'^lang/$', choose_language, name='site.language'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue