git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
59ac24b
)
fix weird issue with login url
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Mon, 4 Mar 2013 14:44:33 +0000
(15:44 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Mon, 4 Mar 2013 14:44:33 +0000
(15:44 +0100)
myslice/urls.py
patch
|
blob
|
history
diff --git
a/myslice/urls.py
b/myslice/urls.py
index
3b6844e
..
f16f936
100644
(file)
--- a/
myslice/urls.py
+++ b/
myslice/urls.py
@@
-25,7
+25,7
@@
urlpatterns = patterns(
# Uncomment the next line to enable the admin:
# url(r'^admin/', include(admin.site.urls)),
(r'^/?$', default_view),
- (r'^
/login-ok
?$', after_login_view),
+ (r'^
login-ok/
?$', after_login_view),
# seems to be what login_required uses to redirect ...
(r'^accounts/login/$', 'auth.views.login_user'),
(r'^login/?$', 'auth.views.login_user'),