﻿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
15735	Conflict with an app name of 'auth' even when not using Django auth	Matt Robenolt	Matt Robenolt	"When starting a project from scratch and I remove all of the default apps out of INSTALLED_APPS, and create an app of my own called ""auth"", Django traverses through and registers the django.contrib.auth models automatically.

I found the source of the problem with django.core.management.validators. At the point of including any part of this module, django.contrib.auth is added into the app_store cache in django.db.models.loading. Once it has been cached in the app_store, it overrides MY 'auth' app because cache keys are stored by doing: ""app.__name__.split('.')[-2]"".

After digging through and tracing up, I found that I could simply comment out line 3 of django/core/management/validators.py and it prevents the extra models from ever being initialized unless specifically declared in settings.py

This may or may not be the best solution for the problem, but I have patched this in on a few projects of mine without any negative consequences. I can't determine if there's a better way to actually test it."	Bug	closed	Core (Other)	1.3	Normal	duplicate	auth settings	Matt Robenolt	Design decision needed	0	0	1	1	0	0
