class KeysValidator(keys, strict=False, messages=None) [source] Validates that the given
class URLValidator(schemes=None, regex=None, message=None, code=None) [source] A R
code The error code used by ValidationError if validation fails. Defaults to "invalid".
inverse_match The match mode for regex. Defaults to False.
class RegexValidator(regex=None, message=None, code=None, inverse_match=None, flags=0) [source]
whitelist Whitelist of email domains to allow. By default, a regular expression (the domain_regex attribute) is
class MaxValueValidator(max_value, message=None) [source] Raises a ValidationError
schemes URL/URI scheme list to validate against. If not provided, the default list is ['http', 'https', 'ftp', 'ftps']
regex The regular expression pattern to search for the provided value, or a pre-compiled regular expression. By
class MinLengthValidator(min_length, message=None) [source] Raises a ValidationError
Page 2 of 3