Merge pull request #280 from Multiposting/ncortot/auth_datetime_fix

Fix datetime call in UserManager
This commit is contained in:
Ross Lawley 2013-04-18 06:11:10 -07:00
commit 6e083fa6a1

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.