mirror of https://github.com/django/django.git
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…
Reference in New Issue