update registration form
[prawokultury.git] / contact / urls.py
index de72e82..edc4954 100644 (file)
@@ -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<form_tag>[^/]+)/thanks/$', views.thanks, name='contact_thanks'),
     url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/$',
             views.attachment, name='contact_attachment'),
+    url(r'^(?P<form_tag>[^/]+)/(?P<key>[^/]{30})/$', views.form, name='contact_form_key'),
 )