mirror of
https://github.com/django/django.git
synced 2025-03-12 10:22:37 +00:00
commit
9332497701
@ -19,7 +19,7 @@ class BaseUserManager(models.Manager):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def normalize_email(cls, email):
|
def normalize_email(cls, email):
|
||||||
"""
|
"""
|
||||||
Normalize the email address by lowercasing the domain part of the it.
|
Normalize the email address by lowercasing the domain part of it.
|
||||||
"""
|
"""
|
||||||
email = email or ''
|
email = email or ''
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user