diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-02-24 22:26:27 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-02-24 22:26:27 (GMT) |
commit | a1064414914efd53ef1c44ee12392fef8a0c0b0f (patch) | |
tree | 60588ab162cdd607f5236d73750e4d3d6217d793 /program/templatetags | |
parent | 1b2eb2aea52e754ad167c63259eec80e35497dfa (diff) | |
parent | f7f4a5d5378b37c32b64bf0f71d0a438fd5d19d8 (diff) |
Merge branch 'add-languages' into stable
Diffstat (limited to 'program/templatetags')
-rw-r--r-- | program/templatetags/content_boxes.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/program/templatetags/content_boxes.py b/program/templatetags/content_boxes.py index 2d1745e..ece466b 100644 --- a/program/templatetags/content_boxes.py +++ b/program/templatetags/content_boxes.py @@ -1,6 +1,6 @@ from django import template -from program.models import BroadcastFormat, MusicFocus, ShowInformation, ShowTopic +from program.models import BroadcastFormat, MusicFocus, ShowInformation, ShowTopic, Language register = template.Library() @@ -23,3 +23,8 @@ def showinformation(): @register.inclusion_tag('boxes/showtopic.html') def showtopic(): return {'showtopic_list': ShowTopic.objects.all()} + + +@register.inclusion_tag('boxes/language.html') +def language(): + return {'language_list': Language.objects.all()} |