In my blog app I want to display a list of blog posts and the first image connected to this post. Now I do it this way:
{% for image in entry.image_set.all|s
Not any shorter, but you could use first:
{% with entry.image_set.all|first as image %} {% endwith %}