{% if object.get_thumbnail %} {% load thumbnail %} {{ object }} {% endif %}