parent
da24b392d3
commit
867ed6fbbf
|
@ -30,7 +30,7 @@ from django.views.generic.simple import direct_to_template
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
"regluit.email_change.views",
|
"regluit.email_change.views",
|
||||||
url(r'^email/change/$', 'regluit.email_change.views.email_change_view', name='email_change'),
|
url(r'^email/change/$', 'email_change.views.email_change_view', name='email_change'),
|
||||||
url(r'^email/verification/sent/$',
|
url(r'^email/verification/sent/$',
|
||||||
direct_to_template, {'template': 'email_change/email_verification_sent.html'},
|
direct_to_template, {'template': 'email_change/email_verification_sent.html'},
|
||||||
name='email_verification_sent'),
|
name='email_verification_sent'),
|
||||||
|
@ -39,7 +39,7 @@ urlpatterns = patterns('',
|
||||||
# [a-fA-F0-9]{40} because a bad verification key should still get to the view;
|
# [a-fA-F0-9]{40} because a bad verification key should still get to the view;
|
||||||
# that way it can return a sensible "invalid key" message instead of a
|
# that way it can return a sensible "invalid key" message instead of a
|
||||||
# confusing 404.
|
# confusing 404.
|
||||||
url(r'^email/verify/(?P<verification_key>\w+)/$', 'regluit.email_change.views.email_verify_view', name='email_verify'),
|
url(r'^email/verify/(?P<verification_key>\w+)/$', 'email_change.views.email_verify_view', name='email_verify'),
|
||||||
url(r'^email/change/complete/$',
|
url(r'^email/change/complete/$',
|
||||||
direct_to_template, {'template': 'email_change/email_change_complete.html'},
|
direct_to_template, {'template': 'email_change/email_change_complete.html'},
|
||||||
name='email_change_complete'),
|
name='email_change_complete'),
|
||||||
|
|
Loading…
Reference in New Issue