X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a55d79e4c27c893841712145e38d4a4a61e04b20..2e4d149a0648f0332883e7d775000b70193819da:/contact/urls.py diff --git a/contact/urls.py b/contact/urls.py index de72e82..edc4954 100644 --- a/contact/urls.py +++ b/contact/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls.defaults import * +from django.conf.urls import patterns, url from . import views urlpatterns = patterns('contact.views', @@ -6,4 +6,5 @@ urlpatterns = patterns('contact.views', url(r'^(?P[^/]+)/thanks/$', views.thanks, name='contact_thanks'), url(r'^attachment/(?P\d+)/(?P[^/]+)/$', views.attachment, name='contact_attachment'), + url(r'^(?P[^/]+)/(?P[^/]{30})/$', views.form, name='contact_form_key'), )