X-Git-Url: https://git.mdrn.pl/koed-quiz.git/blobdiff_plain/2c2b8f122dd789a089ac5054e112f59874c01a70..d302791037e175b1fdb79ed1aa5de2984d117485:/koedquiz/urls.py?ds=sidebyside diff --git a/koedquiz/urls.py b/koedquiz/urls.py index 51fd0d8..72de887 100644 --- a/koedquiz/urls.py +++ b/koedquiz/urls.py @@ -1,10 +1,14 @@ -from django.conf.urls.defaults import patterns, include, url - +# -*- coding: utf-8 -*- +# This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# +from django.conf.urls import patterns, include, url +from django.views.generic import TemplateView from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', - url(r'^$', 'koedquiz.views.home', name='main_page'), + url(r'^$', TemplateView.as_view(template_name="quiz/home.html"), name='main_page'), url(r'^quiz/', include('quiz.urls')),