1 from django.conf.urls import *
2 from django.conf import settings
3 from .views import unsubscription, registration
5 urlpatterns = patterns('',
6 url(r'^$', 'newsletter.views.subscribe', name='newsletter-subscribe'),
7 url(r'^thanks/$', 'newsletter.views.thanks', name='newsletter-thanks'),
8 url(r'^unsubscription/$', unsubscription),
9 url(r'^(?P<validation_value>[0-9a-f]{40})$', registration),