changed comment_data to textfield
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQJDBAABCAAtFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAl721WYPHG5pbGl4QG5p bGZtLmNjAAoJEDt/vCIUTmOYvMIP/iyxRl3w6MmdSYKm2lySoz5dabhskhHrQkEz uYZoTh78f4b9YRw5BjnWqhc3i4g6m65l7PkiBGt2f9eCzbd+AGlNemIevJChP69J wk9a4efdU9QNO3Wb2zQxGwCgUIk4pbTuXUdEzTS2wkSLdFHJQKNKRROzR1VefwOd qmXzELSo9NwJgaeI9ian96sKR/coIoTwk+yyxb+jt3/wbr71mpLAVknHCiW/zDYf jQu2P4+fq2P+tbSc1IjUR/fd+oOtnH5tYqfX4Ehhcx30f628zWQQ7mUGofhGBqrF AqklnW66ypJluL6A9hZyiFPdcxNXo3dC8NVTkSxsK36xN2pl0YyFL5CG0ptyJxqi SPYmOiLv9ChHFExtsS7Doy0ydfs4D18rB0YWd4la0dq1Oh7bvlGdBsMolW6LqM7z /ksJtvNQj+mi3KDaUwr2rkr7T8C2z5KbRn72aYuOG3QoyrqGrYjq6jqewenlInt/ 9cerPg7d3SXrY9surTb0YIAkD3yru6h6AsMJ3cNIv7ozN+31REXd0xQAmAhcHt8D 8G17z0fXcRGQat8Im6zUaanGdQPETM8UXpFuhrVmlUHzuR+6tzbkMCQx2E8pVskT i0sSrptHiBEXZVvpNMuccX1d6TY3by05yso6l64s2K69bmlGRNRfMyzEDy2wDT1R 5j6RYqZk =WoA0 -----END PGP SIGNATURE-----
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
models.py
→
models.py
@@ -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):