1 {% load url from future %}
3 <ul class="section-buttons">
4 {% for object in object_list %}
5 {% url "catalogue_lessons" as lessons_url %}
6 <li class="box{{ object.order }}"><a href="{{ lessons_url }}#{{ object.slug }}"><span>{{ object }}</span></a></li>