view gpp/donations/urls.py @ 565:6a265b5768ca

For bitbucket issue #5, rework the duplicate email checking in the registration form logic. Added tests for registration.
author Brian Neal <bgneal@gmail.com>
date Sun, 04 Mar 2012 13:20:40 -0600
parents b1c39788e511
children ddd69a8e07c7
line wrap: on
line source
"""
URLs for the donations application.
"""
from django.conf.urls.defaults import *
from django.views.generic import TemplateView

urlpatterns = patterns('donations.views',
    url(r'^$', 'index', name='donations-index'),
    url(r'^ipn/$', 'ipn', name='donations-ipn'),
)
urlpatterns += patterns('',
    url(r'^thanks/$', TemplateView.as_view(template_name='donations/thanks.html'),
        name='donations-thanks'),
)