seshat.apps.accounts.custom_validators

Functions

validate_email_with_dots(value)

Custom validator to reject email addresses with more than four dots in

Module Contents

seshat.apps.accounts.custom_validators.validate_email_with_dots(value)

Custom validator to reject email addresses with more than four dots in their domain part.

Parameters:

value (str) – The email address to validate.

Returns:

None

Raises:

ValidationError – If the email address contains more than four dots in the domain part.