﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
1306	[patch] Auth Manager class is using Manager.klass, should use Manager.model now	jpaulofarias at gmail dot com	Adrian Holovaty	"Patch inlined bellow:

{{{
Index: django/contrib/auth/models.py
===================================================================
--- django/contrib/auth/models.py	(revision 2214)
+++ django/contrib/auth/models.py	(working copy)
@@ -39,7 +39,7 @@
     def create_user(self, username, email, password):
         ""Creates and saves a User with the given username, e-mail and password.""
         now = datetime.datetime.now()
-        user = self.klass(None, username, '', '', email.strip().lower(), 'placeholder', False, True, False, now, now)
+        user = self.model(None, username, '', '', email.strip().lower(), 'placeholder', False, True, False, now, now)
         user.set_password(password)
         user.save()
         return user
}}}"	defect	closed	Tools	magic-removal	normal	fixed			Design decision needed	1	0	0	0	0	0
