﻿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
21407	Can't create new user in admin when having a custom user model	hwaara@…	nobody	"The built in UserCreationForm is (I think accidently) referencing ""User"" specifically, instead of using get_user_model for this. In effect, you get a SQL error when trying to create a new user with a custom user model:

17:37:11 web.1     | ProgrammingError: relation ""auth_user"" does not exist
17:37:11 web.1     | LINE 1: ...user"".""is_active"", ""auth_user"".""date_joined"" FROM ""auth_user...

This is in django 1.6"	Uncategorized	closed	contrib.auth	1.6	Normal	invalid		hwaara@…	Unreviewed	0	0	0	0	0	0
