diff --git a/mongoengine/django/auth.py b/mongoengine/django/auth.py index 024ae9c3..d22f0865 100644 --- a/mongoengine/django/auth.py +++ b/mongoengine/django/auth.py @@ -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.