X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a55d79e4c27c893841712145e38d4a4a61e04b20..6a0fe2a1aeba4ac4a8084b07c26bc22b6b4ef21f:/contact/urls.py?ds=inline 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'), )