{% load custom_tags_and_filters %} {% for project in projects %} {% with billing_detail=project.projectbillingdetails %}