{% load permissions %} {% if object.bugs_list.no_access %} {% no_access %} {% else %} {% for bug_id in object.bugs_list %}