tcms.core.forms.fields module

class tcms.core.forms.fields.UserField(*, max_length=None, min_length=None, strip=True, empty_value='', **kwargs)[source]

Bases: CharField

Custom field type. Will eventually support user selection

clean(value)[source]

Form-validation: accept a string/integer. Looks at both email address and real name.