Usage of namespace for / -> /login redirection
This commit is contained in:
parent
238d6da2a3
commit
b6e2a7320b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ from . import views
|
||||||
|
|
||||||
urlpatterns = patterns(
|
urlpatterns = patterns(
|
||||||
'',
|
'',
|
||||||
url(r'^$', RedirectView.as_view(pattern_name="login")),
|
url(r'^$', RedirectView.as_view(pattern_name="cas_server:login")),
|
||||||
url('^login$', views.LoginView.as_view(), name='login'),
|
url('^login$', views.LoginView.as_view(), name='login'),
|
||||||
url('^logout$', views.LogoutView.as_view(), name='logout'),
|
url('^logout$', views.LogoutView.as_view(), name='logout'),
|
||||||
url('^validate$', views.Validate.as_view(), name='validate'),
|
url('^validate$', views.Validate.as_view(), name='validate'),
|
||||||
|
|
Loading…
Reference in a new issue