datatracker/ietf/ietfauth/urls.py
Bill Fenner cb94159896 Allow login/logout/password change. The initial view once logged
in (unless it's a forced login) will be the (incomplete) "my" view.
Username and logout link are in the upper right corner while logged
in.
 - Legacy-Id: 163
2007-05-24 20:18:11 +00:00

22 lines
710 B
Python

from django.conf.urls.defaults import *
from ietf.my.views import my
urlpatterns = patterns('django.contrib.auth.views',
(r'^login/$', 'login'),
# need to provide templates for logout, password_change,
# password_change_done
# right now they use the admin templates, which are not
# really appropriate.
(r'^logout/$', 'logout'),
(r'^password_change/$', 'password_change'),
(r'^password_change/done/$', 'password_change_done'),
# Built-in password reset changes before validation
# so we want to implement a scheme similar to henrik's
# loginmgr.
#(r'^password_reset/$', 'password_reset'),
#(r'^password_reset/done/$', 'password_reset_done'),
)
urlpatterns += patterns('',
(r'^profile/$', my)
)