Mercurial > public > sg101
view contact/urls.py @ 1070:6ac56115e0a8
Convert contact form & views to V3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 09 Apr 2016 17:15:32 -0500 |
parents | 5ba2508939f7 |
children |
line wrap: on
line source
"""urls for the contact application""" from django.conf.urls import url import contact.views urlpatterns = [ url(r'^$', contact.views.contact_form, name='contact-form'), url(r'^thanks/$', contact.views.ContactThanksView.as_view(), name='contact-thanks'), ]