Get current quiz by domain from request.
[koed-quiz.git] / koedquiz / views.py
diff --git a/koedquiz/views.py b/koedquiz/views.py
deleted file mode 100644 (file)
index b89fdda..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# -*- 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.shortcuts import render
-
-from django.conf import settings
-from quiz.models import Quiz
-
-
-def home(request):
-    quiz = Quiz.current()
-    return render(request, "quiz/home.html", locals())