footer added
[koed-quiz.git] / apps / quiz / templatetags / quiz_tags.py
1 # -*- coding: utf-8 -*-
2 # This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django import template
6 from django.utils.safestring import mark_safe
7 from quiz.models import Quiz
8
9 register = template.Library()
10
11
12 @register.simple_tag
13 def quiz_footer():
14     return mark_safe(Quiz.current().footer)