X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a2ce05e9e572b7416203c7fbd30bb060ba825d0e..7f3dd827951cbd24d8549bbe6cc50ab3b54a7dfc:/forum/forms/qanda.py diff --git a/forum/forms/qanda.py b/forum/forms/qanda.py index 3e95355..cd9fc78 100644 --- a/forum/forms/qanda.py +++ b/forum/forms/qanda.py @@ -26,6 +26,8 @@ class TitleField(forms.CharField): self.initial = '' def clean(self, value): + super(TitleField, self).clean(value); + if len(value) < settings.FORM_MIN_QUESTION_TITLE: raise forms.ValidationError(_('title must be must be at least %s characters') % settings.FORM_MIN_QUESTION_TITLE)