annotate email_list/urls.py @ 153:abfc189f3877

Update requirements files for Django 1.6.6.
author Brian Neal <bgneal@gmail.com>
date Sat, 23 Aug 2014 14:06:47 -0500
parents e2868ad47a1e
children 312f198e8958
rev   line source
bgneal@51 1 """
bgneal@51 2 Urls for the email_list application.
bgneal@51 3
bgneal@51 4 """
bgneal@66 5 from django.conf.urls import patterns, url
bgneal@51 6 from django.views.generic import TemplateView
bgneal@51 7
bgneal@51 8
bgneal@51 9 urlpatterns = patterns('email_list.views',
bgneal@51 10 url(r'^$',
bgneal@51 11 'mailing_list',
bgneal@51 12 name='email_list-main'),
bgneal@51 13 url(r'^confirm/(?P<key>[-a-zA-Z0-9_=]{28})/$',
bgneal@51 14 'confirm',
bgneal@51 15 name='email_list-confirm'),
bgneal@51 16 url(r'^request/subscribe/$',
bgneal@51 17 TemplateView.as_view(template_name='email_list/subscribe_request.html'),
bgneal@51 18 name='email_list-request_subscribe'),
bgneal@51 19 url(r'^request/unsubscribe/$',
bgneal@51 20 TemplateView.as_view(template_name='email_list/unsubscribe_request.html'),
bgneal@51 21 name='email_list-request_unsubscribe'),
bgneal@51 22 url(r'^subscribed/$',
bgneal@51 23 TemplateView.as_view(template_name='email_list/subscribed.html'),
bgneal@51 24 name='email_list-subscribed'),
bgneal@51 25 url(r'^unsubscribed/$',
bgneal@51 26 TemplateView.as_view(template_name='email_list/unsubscribed.html'),
bgneal@51 27 name='email_list-unsubscribed'),
bgneal@51 28 )