X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/5fc3b1a4a446715d859440b474ae206ff672b4cd..b64d44fd01d504fbcbf3a180f9e620fed6d527ed:/questions/urls.py diff --git a/questions/urls.py b/questions/urls.py index 3073290..ca1ec8a 100755 --- a/questions/urls.py +++ b/questions/urls.py @@ -2,12 +2,12 @@ # 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" @@ -25,4 +25,4 @@ urlpatterns = patterns('', ), name="questions_thanks" ), -) +]