Mercurial > public > sg101
view gpp/donations/urls.py @ 327:a1bf6cf49720
Modified the implementation of the avatar tag to look for an attribute 'user_profile' on the user object. If present, this is assumed to be the profile. This improves the performance of the member list and some forum views.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Feb 2011 02:11:26 +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'), )