fixed flash
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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 %}
|
||||||
Reference in New Issue
Block a user