Fix datetime call in UserManager
This commit is contained in:
parent
04b85ddbf2
commit
ec639cd6e9
@ -142,7 +142,7 @@ class UserManager(models.Manager):
|
|||||||
"""
|
"""
|
||||||
Creates and saves a User with the given username, e-mail and password.
|
Creates and saves a User with the given username, e-mail and password.
|
||||||
"""
|
"""
|
||||||
now = datetime.datetime.now()
|
now = datetime_now()
|
||||||
|
|
||||||
# Normalize the address by lowercasing the domain part of the email
|
# Normalize the address by lowercasing the domain part of the email
|
||||||
# address.
|
# address.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user