Ticket #17046: validate_create_user.diff
File validate_create_user.diff, 399 bytes (added by , 13 years ago) |
---|
-
django/contrib/auth/models.py
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py index 04e68aa..20fbba6 100644
a b class UserManager(models.Manager): 108 108 date_joined=now) 109 109 110 110 user.set_password(password) 111 user.full_clean() 111 112 user.save(using=self._db) 112 113 return user 113 114