1 # -*- coding: utf-8 -*-
2 from django
.conf
.urls
.defaults
import patterns
, url
3 from django
.utils
.translation
import ugettext
as _
5 urlpatterns
= patterns('django_authopenid.views',
7 url(r
'^yadis.xrdf$', 'xrdf', name
='yadis_xrdf'),
8 # manage account registration
9 url(r
'^%s$' % _('signin/'), 'signin', name
='user_signin'),
10 url(r
'^%s$' % _('signout/'), 'signout', name
='user_signout'),
11 url(r
'^%s%s$' % (_('signin/'), _('complete/')), 'complete_signin',
12 name
='user_complete_signin'),
13 url(r
'^%s$' % _('register/'), 'register', name
='user_register'),
14 url(r
'^%s$' % _('signup/'), 'signup', name
='user_signup'),
15 url(r
'^%s$' % _('sendpw/'), 'sendpw', name
='user_sendpw'),
16 url(r
'^%s%s$' % (_('password/'), _('confirm/')), 'confirmchangepw',
17 name
='user_confirmchangepw'),
19 # manage account settings
20 url(r
'^$', 'account_settings', name
='user_account_settings'),
21 url(r
'^%s$' % _('password/'), 'changepw', name
='user_changepw'),
22 url(r
'^%s$' % _('email/'), 'changeemail', name
='user_changeemail'),
23 url(r
'^%s$' % _('openid/'), 'changeopenid', name
='user_changeopenid'),
24 url(r
'^%s$' % _('delete/'), 'delete', name
='user_delete'),