﻿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
24737	Unnecesary kwarg passed in UserManager's _create_user	Luis Del Giudice	Luis Del Giudice	"From {{{django/contrib/auth/models.py}}}

{{{
user = self.model(username=username, email=email,
                          is_staff=is_staff, is_active=True,
                          is_superuser=is_superuser,
                          date_joined=now, **extra_fields)
}}}
date_joined is being specified but in the model declaration ( line 406 ) date_joined is set to now by default.
{{{406: date_joined = models.DateTimeField(_('date joined'), default=timezone.now }}}

I've removed the date_joined kwarg and all tests were ok. I've pushed what i think is the solution here: [https://github.com/delgiudices/django/blob/test_user/django/contrib/auth/models.py#L178]

"	Cleanup/optimization	closed	contrib.auth	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
