fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
34cdae2
)
allow URLs without trailing slashes: not all CAS clients follow redirects
author
Alex Kamedov
<alex@kamedov.ru>
Sat, 23 Apr 2011 20:14:29 +0000
(
02:14
+0600)
committer
Alex Kamedov
<alex@kamedov.ru>
Sat, 23 Apr 2011 20:14:29 +0000
(
02:14
+0600)
cas_provider/urls.py
patch
|
blob
|
history
diff --git
a/cas_provider/urls.py
b/cas_provider/urls.py
index
8edc91a
..
139988a
100644
(file)
--- a/
cas_provider/urls.py
+++ b/
cas_provider/urls.py
@@
-1,9
+1,8
@@
from django.conf.urls.defaults import *
from django.conf.urls.defaults import *
-from views import *
-urlpatterns = patterns('',
- url(r'^login/', login),
- url(r'^validate/', validate),
- url(r'^logout/', logout),
-)
\ No newline at end of file
+urlpatterns = patterns('cas_provider.views',
+ url(r'^login/?$', 'login', name='cas_login'),
+ url(r'^validate/?$', 'validate', name='cas_validate'),
+ url(r'^logout/?$', 'logout', name='cas_logout'),
+)