1 messages · Page 1 of 1 (latest)
class Comment(models.Model):
post = models.ForeignKey(Post, on_delete=models.CASCADE)
commenter_name = models.CharField(max_length=200)
comment_text = models.CharField(max_length=200)
def __str__(self):
return self.comment_text
here is my comment model
And what is the problem?