Better format for quantite
This commit is contained in:
parent
4f48503ab1
commit
491b7a33cf
2 changed files with 10 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue