From ec639cd6e9acb10f43228487b634e74f11b54bcd Mon Sep 17 00:00:00 2001 From: Nicolas Cortot Date: Wed, 17 Apr 2013 16:19:53 +0200 Subject: [PATCH] Fix datetime call in UserManager --- mongoengine/django/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.