Show proper URL for photo

This commit is contained in:
Claude Paroz 2018-05-26 16:55:58 +02:00
parent 991140fb8b
commit 1ec178374d
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{% block content %}
<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>