﻿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
9598	`	to.roma.from.djbug@…	nobody	"contrib/auth/models.py:
{{{
class UserManager(models.Manager):
    def create_user(self, username, email, password=None):
        ""Creates and saves a User with the given username, e-mail and password.""
        now = datetime.datetime.now()
        user = self.model(None, username, '', '', email.strip().lower(), 'placeholder', False, True, False, now, now)
        if password:
            user.set_password(password)
        else:
            user.set_unusable_password()
        user.save()
        return user
}}}
This should support keyword arguments for first_name, last_name etc. That would make user-creating code cleaner and would avoid unnecessary database operations. The change is so obvious I’m not including a patch.

Are there any reasons not to add such a feature?"		closed	contrib.auth	1.0		wontfix			Design decision needed	0	0	0	0	0	0
