Commit ce72cc27 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Renamed login/logout views to something less confusing.

parent 194a39be
...@@ -14,6 +14,9 @@ urlpatterns = patterns('go.views', ...@@ -14,6 +14,9 @@ urlpatterns = patterns('go.views',
# /signup - Signup page for access. # /signup - Signup page for access.
url(r'^signup/?$', 'signup', name = 'signup'), url(r'^signup/?$', 'signup', name = 'signup'),
# /my - My-Links page, view and review links.
url(r'^my/?$', 'my_links', name = 'my_links'),
# /admin - Administrator interface. # /admin - Administrator interface.
url(r'^admin/', include(admin.site.urls)), url(r'^admin/', include(admin.site.urls)),
) )
...@@ -22,7 +25,7 @@ urlpatterns += patterns('django.contrib.auth.views', ...@@ -22,7 +25,7 @@ urlpatterns += patterns('django.contrib.auth.views',
# Auth pages # Auth pages
url(r'^login$', 'login', {'template_name' : 'login.html'}, url(r'^login$', 'login', {'template_name' : 'login.html'},
name='website_login'), name='go_login'),
url(r'^logout$', 'logout', {'next_page' : '/'}, url(r'^logout$', 'logout', {'next_page' : '/'},
name='website_logout'), name='go_logout'),
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment