{{ post.title }}

Posted by {{ post.user.username }} at {{ post.created_at }}

{% if post.user == user %}
{% csrf_token %}
{% endif %}

Tags: {{ post.all_tags }}

Upvotes: {{ post.vote_set.count }}

{% csrf_token %}


{{ post.content }}

Comments

{% if post.comment_set.all %} {% for comment in post.comment_set.all %} {% endfor %}
{{ comment.user.username }}: {{ comment.content }}
{% else %}

No comments yet.

{% endif %} {% if message %}

{{ message }}

{% endif %}
{% csrf_token %}