Better format for quantite

This commit is contained in:
Claude Paroz 2018-05-27 16:01:08 +02:00
parent 4f48503ab1
commit 491b7a33cf
2 changed files with 10 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<div class="ingredients">
<h2>Ingrédients</h2>
<ul>
{% for comp in recette.ingredients.all %}
{% for comp in recette.composition_set.all %}
<li>{{ comp }}</li>
{% endfor %}
</ul>