annotate gpp/contact/urls.py @ 574:ddd69a8e07c7

For Django 1.4, use django.conf.urls instead of django.conf.urls.defaults.
author Brian Neal <bgneal@gmail.com>
date Thu, 03 May 2012 20:45:16 -0500
parents dbd703f7d63a
children
rev   line source
gremmie@1 1 """urls for the contact application"""
bgneal@574 2 from django.conf.urls import patterns, url
gremmie@1 3
gremmie@1 4 urlpatterns = patterns('contact.views',
gremmie@1 5 url(r'^$', 'contact_form', name='contact-form'),
gremmie@1 6 (r'^thanks/$', 'contact_thanks'),
gremmie@1 7 )