Mercurial > public > sg101
view gpp/donations/urls.py @ 117:a3633f39f3ce
Forums: pre-select all the user profiles when displaying a topic. As it was, the template was calling get_user_profile which was causing a db hit on every post in the topic.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 23 Oct 2009 03:09:33 +0000 |
parents | 296b610ee507 |
children | b1c39788e511 |
line wrap: on
line source
""" URLs for the donations application. """ from django.conf.urls.defaults import * urlpatterns = patterns('donations.views', url(r'^$', 'index', name='donations-index'), url(r'^ipn/$', 'ipn', name='donations-ipn'), ) urlpatterns += patterns('django.views.generic.simple', (r'^thanks/$', 'direct_to_template', {'template': 'donations/thanks.html'}, 'donations-thanks') )