-Ajout de la connexion page favoris à la db

This commit is contained in:
2025-01-30 15:28:48 +01:00
parent 26950905d6
commit 0524212df6
2 changed files with 7 additions and 17 deletions

View File

@ -3,17 +3,9 @@
{% block title %}Mes favoris{% endblock %}
{% block body %}
<div>
{% for data in datas %}
{% if data.items is defined %}
{% for book in data.items %}
{% if book.volumeInfo.authors is defined %}
<p>{{ book.volumeInfo.title }} - {{ book.volumeInfo.authors | join(", ") }} </p>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</div>
{% for data in datas %}
{% for book in data %}
<p>{{ book.title }}</p>
{% endfor %}
{% endfor %}
{% endblock %}