core.validators.int_list_validator()
  • References/Python/Django/API/Validators

int_list_validator(sep=', ', message=None, code='invalid', allow_negative=False) [source]

2025-01-10 15:47:30
core.validators.EmailValidator.code
  • References/Python/Django/API/Validators

code The error code used by ValidationError if validation fails. Defaults to "invalid".

2025-01-10 15:47:30
core.validators.RegexValidator
  • References/Python/Django/API/Validators

class RegexValidator(regex=None, message=None, code=None, inverse_match=None, flags=0) [source]

2025-01-10 15:47:30
core.validators.MaxValueValidator
  • References/Python/Django/API/Validators

class MaxValueValidator(max_value, message=None) [source] Raises a ValidationError

2025-01-10 15:47:30
core.validators.RegexValidator.inverse_match
  • References/Python/Django/API/Validators

inverse_match The match mode for regex. Defaults to False.

2025-01-10 15:47:30
core.validators.URLValidator
  • References/Python/Django/API/Validators

class URLValidator(schemes=None, regex=None, message=None, code=None) [source] A R

2025-01-10 15:47:30
core.validators.EmailValidator.whitelist
  • References/Python/Django/API/Validators

whitelist Whitelist of email domains to allow. By default, a regular expression (the domain_regex attribute) is

2025-01-10 15:47:30
core.validators.URLValidator.schemes
  • References/Python/Django/API/Validators

schemes URL/URI scheme list to validate against. If not provided, the default list is ['http', 'https', 'ftp', 'ftps']

2025-01-10 15:47:30
core.validators.MaxLengthValidator
  • References/Python/Django/API/Validators

class MaxLengthValidator(max_length, message=None) [source] Raises a ValidationError

2025-01-10 15:47:30
core.validators.RegexValidator.regex
  • References/Python/Django/API/Validators

regex The regular expression pattern to search for the provided value, or a pre-compiled regular expression. By

2025-01-10 15:47:30