Showing
2 changed files
with
19 additions
and
1 deletions
| @@ -57,7 +57,7 @@ class CommentAbstractModel(BaseCommentAbstractModel): | @@ -57,7 +57,7 @@ class CommentAbstractModel(BaseCommentAbstractModel): | ||
| 57 | user_email = models.EmailField(_("user's email address"), blank=True) | 57 | user_email = models.EmailField(_("user's email address"), blank=True) |
| 58 | user_url = models.URLField(_("user's URL"), blank=True) | 58 | user_url = models.URLField(_("user's URL"), blank=True) |
| 59 | 59 | ||
| 60 | - comment = models.TextField(_('comment'), max_length=COMMENT_MAX_LENGTH) | 60 | + comment = models.TextField(_('comment'), max_length=COMMENT_MAX_LENGTH, blank=True) |
| 61 | 61 | ||
| 62 | # Metadata about the comment | 62 | # Metadata about the comment |
| 63 | submit_date = models.DateTimeField(_('date/time submitted'), default=None, db_index=True) | 63 | submit_date = models.DateTimeField(_('date/time submitted'), default=None, db_index=True) |
| 1 | +# Generated by Django 2.2.2 on 2020-02-10 21:08 | ||
| 2 | + | ||
| 3 | +from django.db import migrations, models | ||
| 4 | + | ||
| 5 | + | ||
| 6 | +class Migration(migrations.Migration): | ||
| 7 | + | ||
| 8 | + dependencies = [ | ||
| 9 | + ('django_comments', '0004_comment_image'), | ||
| 10 | + ] | ||
| 11 | + | ||
| 12 | + operations = [ | ||
| 13 | + migrations.AlterField( | ||
| 14 | + model_name='comment', | ||
| 15 | + name='comment', | ||
| 16 | + field=models.TextField(blank=True, max_length=3000, verbose_name='comment'), | ||
| 17 | + ), | ||
| 18 | + ] |
Please
register
or
login
to post a comment