bgneal@51: """
bgneal@51: Urls for the email_list application.
bgneal@51: 
bgneal@51: """
bgneal@66: from django.conf.urls import patterns, url
bgneal@51: from django.views.generic import TemplateView
bgneal@51: 
bgneal@51: 
bgneal@51: urlpatterns = patterns('email_list.views',
bgneal@51:    url(r'^$',
bgneal@51:        'mailing_list',
bgneal@51:        name='email_list-main'),
bgneal@51:    url(r'^confirm/(?P<key>[-a-zA-Z0-9_=]{28})/$',
bgneal@51:        'confirm',
bgneal@51:        name='email_list-confirm'),
bgneal@51:    url(r'^request/subscribe/$',
bgneal@51:        TemplateView.as_view(template_name='email_list/subscribe_request.html'),
bgneal@51:        name='email_list-request_subscribe'),
bgneal@51:    url(r'^request/unsubscribe/$',
bgneal@51:        TemplateView.as_view(template_name='email_list/unsubscribe_request.html'),
bgneal@51:        name='email_list-request_unsubscribe'),
bgneal@51:    url(r'^subscribed/$',
bgneal@51:        TemplateView.as_view(template_name='email_list/subscribed.html'),
bgneal@51:        name='email_list-subscribed'),
bgneal@51:    url(r'^unsubscribed/$',
bgneal@51:        TemplateView.as_view(template_name='email_list/unsubscribed.html'),
bgneal@51:        name='email_list-unsubscribed'),
bgneal@51: )