view contact/urls.py @ 1208:5c8a38122e24 modernize tip

Add unit test for POTD tasks.
author Brian Neal <bgneal@gmail.com>
date Tue, 28 Jan 2025 19:02:18 -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'),
]