fix weird issue with login url
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 4 Mar 2013 14:44:33 +0000 (15:44 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 4 Mar 2013 14:44:33 +0000 (15:44 +0100)
myslice/urls.py

index 3b6844e..f16f936 100644 (file)
@@ -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'),