+# -*- 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"),
)