Validate the user part of the email address. Return True if valid and False otherwise.
(self, user_part)
| 265 | super().__init__(*args, **kwargs) |
| 266 | |
| 267 | def validate_user_part(self, user_part): |
| 268 | """Validate the user part of the email address. Return True if |
| 269 | valid and False otherwise. |
| 270 | """ |
| 271 | if self.allow_utf8_user: |
| 272 | return self.UTF8_USER_REGEX.match(user_part) |
| 273 | return self.USER_REGEX.match(user_part) |
| 274 | |
| 275 | def validate_domain_part(self, domain_part): |
| 276 | """Validate the domain part of the email address. Return True if |