Django 1.9
[prawokultury.git] / contact / urls.py
1 from django.conf.urls import url
2 from . import views
3
4 urlpatterns = [
5     url(r'^(?P<form_tag>[^/]+)/$', views.form, name='contact_form'),
6     url(r'^(?P<form_tag>[^/]+)/thanks/$', views.thanks, name='contact_thanks'),
7     url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/$',
8             views.attachment, name='contact_attachment'),
9     url(r'^(?P<form_tag>[^/]+)/(?P<key>[^/]{30})/$', views.form, name='contact_form_key'),
10 ]