﻿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
27909	Use AUTH_USER_MODEL in startproject template	David D Lowe	nobody	"The documentation says:

https://docs.djangoproject.com/en/1.10/topics/auth/customizing/#using-a-custom-user-model-when-starting-a-project

> If you’re starting a new project, it’s highly recommended to set up a custom user model, even if the default User model is sufficient for you. This model behaves identically to the default user model, but you’ll be able to customize it in the future if the need arises:

If you fail to remember to do this when you set up the project, the documentation warns of the difficulty of doing it later:

> Changing AUTH_USER_MODEL after you’ve created database tables is significantly more difficult since it affects foreign keys and many-to-many relationships, for example.

> This change can’t be done automatically and requires manually fixing your schema, moving your data from the old user table, and possibly manually reapplying some migrations. See #25313 for an outline of the steps.

And it continues, explaining the other difficulties and caveats.

Starting your project with AUTH_USER_MODEL set is highly recommended, and it is a difficult to switch to this method once a project has been created. So why doesn't the default template created by `django-admin startproject` give a value to `AUTH_USER_MODEL` by default?"	Cleanup/optimization	closed	Core (Management commands)	1.10	Normal	wontfix		Carsten Fuchs Tom Carrick	Someday/Maybe	0	0	0	0	0	0
