Fix datetime call in UserManager

This commit is contained in:
Nicolas Cortot 2013-04-17 16:19:53 +02:00
parent 04b85ddbf2
commit ec639cd6e9

View File

@ -142,7 +142,7 @@ class UserManager(models.Manager):
"""
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
# address.