This is the code:
{% for post in posts[0:4] %} <% filename = post.filename filePath = 'http://127.0.0.1:5000'+url_for('uploaded_file', filename=filename) %> <h3>{{post.title}}</h3> {% endfor %}
Aucun commentaire:
Enregistrer un commentaire