﻿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
24910	createsuperuser in interactive mode assumes USERNAME_FIELD is unique	Carl Meyer	Alasdair Nicol	"The checks framework allows for the possibility that you have a custom User model with a non-unique `USERNAME_FIELD`, as long as you're using a custom authentication backend that's able to handle that situation. But the `createsuperuser` management command (in interactive mode) always queries to see if the username you enter is already in use, and won't let you proceed if it is.

Instead, `createsuperuser` should check whether `USERNAME_FIELD` is actually a unique field, and only do the check if it is."	Bug	closed	contrib.auth	1.8	Normal	fixed		alasdair@…	Ready for checkin	1	0	0	0	0	0
