Не удаётся создать форму для комментариев

Создал модель, вью и формы. Вывожу всё на HTML шаблон, но на сайте нияего кроме кнопки не появляется. models.py:

class Comment(models.Model):
title = models.CharField(max_length=140)
post = models.ForeignKey(Post, on_delete=models.CASCADE, related_name= 'comments')
comment= models.TextField()
date = models.DateTimeField(auto_now_add = True)
exist = models.BooleanField(default=True)
author = models.ForeignKey(
    get_user_model(),
    on_delete=models.CASCADE,
)

def __str__(self):
    return self.title

def get_absolute_url(self):
    return reverse('post_detail', kwargs={'pk': self.pk})

views.py:

class PostComment(FormView):
form_class = forms.CommentForm
template_name = 'post_detail.html'

forms.py:

class CommentForm(ModelForm):
class Meta:
    model = Comment
    fields = ['title', 'comment']

Шаблон:

{% extends 'base.html' %}
{% block title %}
    <title>{{ post.title }}</title>
{% endblock title %}
{% block content %}
    <div>
        <h2>{{ post.title }}</h2><i>{{ post.date }}</i>
        <p>{{ post.body }}</p>
    </div>
<br>
    <div>
        <h2>Comments:</h2>
        {% if post.comments.all|length > 0 %}
            {% for comment in post.comments.all %}
                <h2>{{ comment.title }}</h2>
                <h3>{{ comment.author }}</h3><i>{{ comment.date }}</i>
                <p>{{ comment.comment }}</p>
        {% endfor %}
        {% else %}
            <h3>Comments don't exist</h3>
        {% endif %}
        {% if new_comment %}
            <h2>Your comment has been added.</h2>
        {% else %}
            <h2>Add a new comment</h2>
            <form action="comment" method="post">
                {% csrf_token %}
                {{ form }}
                <input type="submit" value="Submit">
            </form>
        {% endif %}
    </div>
{% endblock content %}
Вернуться на верх