From 6314a8ef3a4547059718a0d6c51f234de03c3acd Mon Sep 17 00:00:00 2001 From: Phil Krylov Date: Thu, 18 Oct 2018 12:33:27 -0400 Subject: [PATCH] Fixed models.Report.reason max_length attribute --- djangobb_forum/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangobb_forum/models.py b/djangobb_forum/models.py index 1c917f3f..72162319 100644 --- a/djangobb_forum/models.py +++ b/djangobb_forum/models.py @@ -357,7 +357,7 @@ class Report(models.Model): zapped = models.BooleanField(_('Zapped'), blank=True, default=False) zapped_by = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='zapped_by', blank=True, null=True, verbose_name=_('Zapped by')) created = models.DateTimeField(_('Created'), blank=True) - reason = models.TextField(_('Reason'), blank=True, default='', max_length='1000') + reason = models.TextField(_('Reason'), blank=True, default='', max_length=1000) class Meta: verbose_name = _('Report')