{# PAGE POUR AJOUTER ET COMMENTER LES ARTICLES#} {# non utilisée pour le moment mais pour la deuxieme partie sur les commentaires #} {% extends "admin/layout_admin.html" %} {% block body %}

{{ article.libelle }}  {{ article.prix }} €

{{ article.description }}

{% if article.image is not none %} image  de {{ article.nom }} {% else %} image  de {{ article.nom }} {% endif %}

Les commentaires

{% if commentaires %} {% for commentaire in commentaires %} {% endfor %} {% else %} {% endif %}
user Commentaires Note
{{ commentaire.user_id }} {{ commentaire.texte }} {{ commentaire.note }} {{ commentaire.__dict__ }}
Pas de commentaire
Retour vers la page d'accueil
{% endblock %}