{% extends 'base.html' %} {% load static %} {% block body %}

{{ post.title }}

Asked By: {{ post.creator }}
{{ post }}
{% for comment in comments %}
Answered By: {{ comment.creator }}
{% autoescape off %} {{ comment }} {% endautoescape %}
{% endfor %}
Comment
{% csrf_token %}
{% if not request.user.is_authenticated %} You must login to comment {% endif %} {% if request.user.is_authenticatednot and perms.form.add_comment %} You do not have permission to comment {% endif %}
{% endblock %}