-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')),