fixed flash

This commit is contained in:
2019-08-20 18:55:26 -05:00
parent bb2b3c6d35
commit 95b5596e6e
2 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,8 @@
{% for message in messages %} {% for message in messages %}
<li>{{ message }}</li> <li>{{ message }}</li>
{% endfor %} {% endfor %}
{% endif %}
{% endfor %}
{% block content %}{% endblock %} {% block content %}{% endblock %}
</body> </body>
</html> </html>

View File

@@ -5,6 +5,6 @@
<h1>Hello, {{ user.username }}!</h1> <h1>Hello, {{ user.username }}!</h1>
{% for post in posts %} {% for post in posts %}
<div><p>{{ post.author.username }} says: <b>{{ post.body }}</b></p></div> <div><p>{{ post.author.username }} says: <b>{{ post.body }}</b></p></div>
{% endfor %} {% endfor %}
</body> </body>
{% endblock %} {% endblock %}