Mercurial > public > sg101
view contact/urls.py @ 1206:02181fa5ac9d modernize tip
Update to Django 1.9.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 22 Jan 2025 17:58:16 -0600 |
parents | 6ac56115e0a8 |
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'), ]