view gpp/contact/urls.py @ 150:b43e1288ff80

Fix #33; use $.ajax instead of $.post so we can handle errors. Also, for some reason comparing objects in a template doesn't work now. Have to compare id fields.
author Brian Neal <bgneal@gmail.com>
date Thu, 17 Dec 2009 04:14:16 +0000
parents dbd703f7d63a
children ddd69a8e07c7
line wrap: on
line source
"""urls for the contact application"""
from django.conf.urls.defaults import *

urlpatterns = patterns('contact.views',
   url(r'^$', 'contact_form', name='contact-form'),
   (r'^thanks/$', 'contact_thanks'),
)