summaryrefslogtreecommitdiff
path: root/pgcommitfest/urls.py
diff options
context:
space:
mode:
authorMagnus Hagander2015-01-22 14:04:09 +0000
committerMagnus Hagander2015-01-22 14:04:09 +0000
commit0c58317302c0eeea57dcbafa28b5150b82eba3de (patch)
tree2f02f27f4780e89b1bd9918ceb7f6f1477328ad8 /pgcommitfest/urls.py
parentc80b7e1d58f3bac19a6df99ddf3d4bfc50e6a2ee (diff)
Implement support for secondary email addresses
Each user can add a secondary email (well, more than one) and then pick one of those when sending email. Addresses are validated by sending a token to the newly added address, with a link to click to confirm it. Only a fully confirmed address can actually be used.
Diffstat (limited to 'pgcommitfest/urls.py')
-rw-r--r--pgcommitfest/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pgcommitfest/urls.py b/pgcommitfest/urls.py
index a715c71..46e0332 100644
--- a/pgcommitfest/urls.py
+++ b/pgcommitfest/urls.py
@@ -31,6 +31,11 @@ urlpatterns = patterns('',
(r'^(?:account/)?logout/?$', 'auth.logout'),
(r'^auth_receive/$', 'auth.auth_receive'),
+ # Account management
+ (r'^account/profile/$', 'userprofile.views.userprofile'),
+ (r'^account/profile/delmail/$', 'userprofile.views.deletemail'),
+ (r'^account/profile/confirm/([0-9a-f]+)/$', 'userprofile.views.confirmemail'),
+
# Examples:
# url(r'^$', 'pgcommitfest.views.home', name='home'),
# url(r'^pgcommitfest/', include('pgcommitfest.foo.urls')),