diff options
| author | Tim Graham <timograham@gmail.com> | 2017-09-14 07:44:38 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-06-07 09:33:17 -0400 |
| commit | d6fc49a76582b9635e4521c8580a66466c4d3806 (patch) | |
| tree | 482951d24b862bc5dffbfef8bc51e105d814cc06 /contact | |
| parent | d107d78f2de886a379edb5d87a969d793f4d53b8 (diff) | |
Updated URLpatterns to use path().
Diffstat (limited to 'contact')
| -rw-r--r-- | contact/urls.py | 6 |
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'), ] |
