title: How to make add replies to comments in Django?
body: <p>I'm making my own blog with Django and I already made a Comments system.. I want to add the replies for each comment (like a normal comment's box) and I don't know what to do this is my current models.py comments: </p>
  
  <pre><code>class Comment(models.Model):
      post = models.ForeignKey(Post, on_delete=models.CASCADE, related_name='comments')
      author = models.ForeignKey(User, on_delete=models.CASCADE)
      text = models.TextField()
      created_date = models.DateField(auto_now_add=True)
      parent = models.ForeignKey('self', null=True, related_name='replies')
  
      def __str__(self):
          return self.text
  </code></pre>
  
  <p>and this is the .html where I use the comments</p>
  
  <pre><code>  {% for comment in post.comments.all %}
   &lt;ul&gt;
    {{ comment.text }}
    {% for reply in comment.replies.all %}
        &lt;li&gt;
            {{ reply.text }}
        &lt;/li&gt;
    {% endfor %}
   &lt;ul&gt;
   {% endfor %}
  </code></pre>
  
  <p>and apparently It is working but when I try to make a comment in the admin site of Django it forces me to put a "Parent" to each comment (and this is not obligatory beacuse not every comment is a reply) I also don't know how to add the reply "button" in the HTML file. Please help tell me what changes can I do to make a simple comment box with replies . Thanks a lot</p>