# This file is part of PrawoKultury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
-from django.conf.urls import patterns, url
+from django.conf.urls import url
from django.views.generic import DetailView, TemplateView
from .models import Question
from .views import QuestionFormView, QuestionListView
-urlpatterns = patterns('',
+urlpatterns = [
url(r'^$',
QuestionListView.as_view(),
name="questions"
),
name="questions_thanks"
),
-)
+]