diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-28 18:49:32 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-28 18:49:32 (GMT) |
commit | d4c75b4893bfcb28e300ff5e10dc9cd0993f8537 (patch) | |
tree | 53cbd2c37bf6183b5cd61b0c8b515ae24088b8da /program/templatetags | |
parent | f44cf6587f67095f777c4847e5cc12c5fbef957e (diff) |
fixed urls and file locations
Diffstat (limited to 'program/templatetags')
-rw-r--r-- | program/templatetags/content_boxes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/program/templatetags/content_boxes.py b/program/templatetags/content_boxes.py index 59bcdb0..b56f0d2 100644 --- a/program/templatetags/content_boxes.py +++ b/program/templatetags/content_boxes.py @@ -5,22 +5,22 @@ register = template.Library() from program.models import BroadcastFormat, MusicFocus, ShowInformation, ShowTopic -@register.inclusion_tag('program/boxes/broadcastformat.html') +@register.inclusion_tag('boxes/broadcastformat.html') def broadcastformat(): broadcastformats = BroadcastFormat.objects.filter(enabled=True) return {'broadcastformats': broadcastformats} -@register.inclusion_tag('program/boxes/musicfocus.html') +@register.inclusion_tag('boxes/musicfocus.html') def musicfocus(): musicfoci = MusicFocus.objects.all() return {'musicfoci': musicfoci} -@register.inclusion_tag('program/boxes/showinformation.html') +@register.inclusion_tag('boxes/showinformation.html') def showinformation(): showinformations = ShowInformation.objects.all() return {'showinformations': showinformations} -@register.inclusion_tag('program/boxes/showtopic.html') +@register.inclusion_tag('boxes/showtopic.html') def showtopic(): showtopics = ShowTopic.objects.all() return {'showtopics': showtopics} |