{% load url from future %} {% url "catalogue_lessons" as lessons_url %} {% for course in object_list %}