X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/98b2c09ef1f1c8288a31517f61423264c6b3291c..f083ac4cb1be9bb6c14ce2045be90e0cdf23508e:/src/contact/urls.py?ds=sidebyside diff --git a/src/contact/urls.py b/src/contact/urls.py index f2ef9444e..c475cd429 100644 --- a/src/contact/urls.py +++ b/src/contact/urls.py @@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- -from django.conf.urls import patterns, url +from django.conf.urls import url from . import views -urlpatterns = patterns( - 'contact.views', + +urlpatterns = [ url(r'^(?P[^/]+)/$', views.form, name='contact_form'), url(r'^(?P[^/]+)/thanks/$', views.thanks, name='contact_thanks'), url(r'^attachment/(?P\d+)/(?P[^/]+)/$', views.attachment, name='contact_attachment'), url(r'^results/(?P\d+)/(?P[0-9a-f]+)/', views.results, name='contact_results'), -) +]