update requirements
[redakcja.git] / apps / forms_builder / forms / urls.py
index ead6426..b68654a 100644 (file)
@@ -1,9 +1,12 @@
+# -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-from django.conf.urls import patterns, url
+from django.conf.urls import url
 
+from forms_builder.forms import views
 
-urlpatterns = patterns("forms_builder.forms.views",
-    url(r"(?P<slug>.*)/sent/$", "form_sent", name="form_sent"),
-    url(r"(?P<slug>.*)/$", "form_detail", name="form_detail"),
+
+urlpatterns = (
+    url(r"(?P<slug>.*)/sent/$", views.form_sent, name="form_sent"),
+    url(r"(?P<slug>.*)/$", views.form_detail, name="form_detail"),
 )