view gpp/donations/urls.py @ 480:1a7ca5fa494f

Fixing #229: Download details view with a bogus download ID produces internal server error isntead of a 404.
author Brian Neal <bgneal@gmail.com>
date Wed, 05 Oct 2011 00:09:30 +0000
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'),
)