Show proper URL for photo

This commit is contained in:
Claude Paroz 2018-05-26 16:55:58 +02:00
parent 991140fb8b
commit 1ec178374d

View file

@ -3,7 +3,7 @@
{% block content %} {% block content %}
<h1>{{ recette.nom }}</h1> <h1>{{ recette.nom }}</h1>
<div class="photo"><img src="{{ recette.photo }}"></div> <div class="photo"><img src="{{ recette.photo.url }}"></div>
<div>{{ recette.preparation }}</div> <div>{{ recette.preparation }}</div>