+ super(AnswerEditorField, self).__init__(*args, **kwargs)
+ self.required = True
+
+ def clean(self, value):
+ if len(value) < settings.FORM_MIN_QUESTION_BODY:
+ raise forms.ValidationError(_('answer content must be at least %s characters') % settings.FORM_MIN_QUESTION_BODY)
+
+ return value
+
+
+class TagNamesField(forms.CharField):
+ def __init__(self, user=None, *args, **kwargs):