view gpp/contact/urls.py @ 311:b1c39788e511

Fix #146; use new class-based generic views as function-based generic views are now deprecated.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:40:14 +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'),
)