if some_queryset.exists():
print("There is at least one object in some_queryset")
Model.objects.none()
<ul>
{% for athlete in athlete_list %}
<li>{{ athlete.name }}</li>
{% empty %}
<li>Sorry, no athletes in this list.</li>
{% endfor %}
</ul>
# check if queryset is empty (django)
if not myQueryset:
# Do this...
else:
# Do that...