1👍
✅
You should check the truthiness object.image
attribute, not its URL, so:
{% if object.image %}
<p><img src="{{ object.image.url }}"></p>
{% endif %}
Source:stackexchange.com