diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-25 08:37:49 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-25 08:37:49 -0400 |
| commit | 46b1d7b7a0459a47d21c44724bd6a0942049bed4 (patch) | |
| tree | 6331308d4c47dcedc8aaf9f778bc377c2043208b /contact | |
| parent | c8eef02b0c46fde79d9168ddeac5e0952650f496 (diff) | |
Removed usage of django.conf.urls.patterns().
Diffstat (limited to 'contact')
| -rw-r--r-- | contact/urls.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contact/urls.py b/contact/urls.py index a12a0315..56c6a324 100644 --- a/contact/urls.py +++ b/contact/urls.py @@ -1,11 +1,10 @@ -from __future__ import absolute_import - -from django.conf.urls import patterns, url +from django.conf.urls import url from django.views.generic import TemplateView from .views import ContactFoundation -urlpatterns = patterns('', + +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'), -) +] |
