Mercurial > public > madeira
annotate email_list/urls.py @ 188:c73c1392d11e
Update to Django 1.8.10
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 Mar 2016 20:26:30 -0600 |
parents | 312f198e8958 |
children |
rev | line source |
---|---|
bgneal@51 | 1 """ |
bgneal@51 | 2 Urls for the email_list application. |
bgneal@51 | 3 |
bgneal@51 | 4 """ |
bgneal@180 | 5 from django.conf.urls import url |
bgneal@51 | 6 from django.views.generic import TemplateView |
bgneal@51 | 7 |
bgneal@180 | 8 import email_list.views |
bgneal@51 | 9 |
bgneal@180 | 10 |
bgneal@180 | 11 urlpatterns = [ |
bgneal@51 | 12 url(r'^$', |
bgneal@180 | 13 email_list.views.mailing_list, |
bgneal@51 | 14 name='email_list-main'), |
bgneal@51 | 15 url(r'^confirm/(?P<key>[-a-zA-Z0-9_=]{28})/$', |
bgneal@180 | 16 email_list.views.confirm, |
bgneal@51 | 17 name='email_list-confirm'), |
bgneal@51 | 18 url(r'^request/subscribe/$', |
bgneal@51 | 19 TemplateView.as_view(template_name='email_list/subscribe_request.html'), |
bgneal@51 | 20 name='email_list-request_subscribe'), |
bgneal@51 | 21 url(r'^request/unsubscribe/$', |
bgneal@51 | 22 TemplateView.as_view(template_name='email_list/unsubscribe_request.html'), |
bgneal@51 | 23 name='email_list-request_unsubscribe'), |
bgneal@51 | 24 url(r'^subscribed/$', |
bgneal@51 | 25 TemplateView.as_view(template_name='email_list/subscribed.html'), |
bgneal@51 | 26 name='email_list-subscribed'), |
bgneal@51 | 27 url(r'^unsubscribed/$', |
bgneal@51 | 28 TemplateView.as_view(template_name='email_list/unsubscribed.html'), |
bgneal@51 | 29 name='email_list-unsubscribed'), |
bgneal@180 | 30 ] |