changed comment_data to textfield

This commit is contained in:
Iris Lightshard 2020-06-27 01:13:10 -04:00
parent 61531281bd
commit 33c508d1b4
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -8,7 +8,7 @@ class Comment(models.Model):
comment_author = models.CharField(max_length=128, blank=False)
comment_author_email = models.CharField(max_length=128, blank=False)
comment_date = models.DateTimeField(default=datetime.now, blank=True)
comment_data = models.CharField(max_length=4096, blank=False)
comment_data = models.TextField(max_length=4096, blank=False)
hidden = models.BooleanField(default=False)
next = models.ForeignKey('self', on_delete=models.SET_NULL, null=True)
def __str__(self):