changed comment_data to textfield
This commit is contained in:
parent
61531281bd
commit
33c508d1b4
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue