use section name instead of section for box slugs

This commit is contained in:
Luke Hatcher 2013-01-29 06:11:34 -05:00
parent 8017226382
commit 9c68e4c326

View file

@ -22,7 +22,7 @@
</div> </div>
</div> </div>
<div class="span12"> <div class="span12">
{% box "schedule_top_"|add:schedule.section|slugify %} {% box "schedule_top_"|add:schedule.section.name|slugify %}
{% cache 600 "schedule-table" schedule.section %} {% cache 600 "schedule-table" schedule.section %}
{% for timetable in days %} {% for timetable in days %}