annotate gpp/donations/urls.py @ 149:ab7830b067b3
Implement ticket #40. Added a simple way to search for usernames and then view their profile. Moved this ajax username search feature out of the messages app and into core.
author |
Brian Neal <bgneal@gmail.com> |
date |
Mon, 14 Dec 2009 05:07:28 +0000 |
parents |
296b610ee507 |
children |
b1c39788e511 |
rev |
line source |
bgneal@35
|
1 """
|
bgneal@35
|
2 URLs for the donations application.
|
bgneal@35
|
3 """
|
bgneal@35
|
4 from django.conf.urls.defaults import *
|
bgneal@35
|
5
|
bgneal@35
|
6 urlpatterns = patterns('donations.views',
|
bgneal@35
|
7 url(r'^$', 'index', name='donations-index'),
|
bgneal@35
|
8 url(r'^ipn/$', 'ipn', name='donations-ipn'),
|
bgneal@35
|
9 )
|
bgneal@36
|
10 urlpatterns += patterns('django.views.generic.simple',
|
bgneal@36
|
11 (r'^thanks/$', 'direct_to_template',
|
bgneal@36
|
12 {'template': 'donations/thanks.html'}, 'donations-thanks')
|
bgneal@36
|
13 )
|