From 27776130e00d789eb65bbe4509388ea8c9683907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Sun, 7 Nov 2021 11:51:12 +0100 Subject: [PATCH] =?UTF-8?q?Delete=20zbytky=20po=20star=C3=A9m=20zp=C5=AFso?= =?UTF-8?q?bu=20=C5=99e=C5=A1en=C3=AD=20men=C3=AD=C4=8Dka?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templatetags/mam_menu.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 seminar/templatetags/mam_menu.py diff --git a/seminar/templatetags/mam_menu.py b/seminar/templatetags/mam_menu.py deleted file mode 100644 index 9ae7ac68..00000000 --- a/seminar/templatetags/mam_menu.py +++ /dev/null @@ -1,15 +0,0 @@ -from django import template - -from seminar.models import Rocnik - -register = template.Library() - -@register.inclusion_tag('results.html') -def seminar_rocniky(parser, token): - return { - 'rocniky': Rocnik.objects.all() - } - -@register.simple_tag -def aktualni_rocniky(): - return Rocnik.objects.all()