summaryrefslogtreecommitdiff
path: root/contact
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-09-14 07:44:38 -0400
committerTim Graham <timograham@gmail.com>2018-06-07 09:33:17 -0400
commitd6fc49a76582b9635e4521c8580a66466c4d3806 (patch)
tree482951d24b862bc5dffbfef8bc51e105d814cc06 /contact
parentd107d78f2de886a379edb5d87a969d793f4d53b8 (diff)
Updated URLpatterns to use path().
Diffstat (limited to 'contact')
-rw-r--r--contact/urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contact/urls.py b/contact/urls.py
index a032e469..3d1b930f 100644
--- a/contact/urls.py
+++ b/contact/urls.py
@@ -1,9 +1,9 @@
-from django.conf.urls import url
+from django.urls import path
from django.views.generic import TemplateView
from .views import ContactFoundation
urlpatterns = [
- url(r'^foundation/$', ContactFoundation.as_view(), name='contact_foundation'),
- url(r'^sent/$', TemplateView.as_view(template_name='contact/sent.html'), name='contact_form_sent'),
+ path('foundation/', ContactFoundation.as_view(), name='contact_foundation'),
+ path('sent/', TemplateView.as_view(template_name='contact/sent.html'), name='contact_form_sent'),
]