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 16283 manage.py depends on django.contrib.contenttypes et al. TheRoSS nobody "I intended to use django.contrib.auth with my own backends, so I included 'django.contrib.auth.middleware.!AuthenticationMiddleware' into 'MIDDLEWARE_CLASSES', excluded 'django.contrib.auth' from 'INSTALLED_APPS' and created my own authentication application. But if I named my authentication application as 'project.auth', django used models from 'django.contrib.auth'. If I gave it any other name, 'project.auth2' for example, models were mine. project.settings contains: {{{ MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', ) INSTALLED_APPS = ( 'project.auth', # DOESN'T WORK! 'project.auth2', # works well ) }}} I tracked down the source code and realized that django.db.models.loading.app_models dictionary has a record named 'auth' taken from 'django.contrib.auth' (upon middleware processing I suppose) which prevents my 'auth' application to be used." Bug closed contrib.auth 1.3 Normal fixed TheRoSS Accepted 0 0 0 0 0 0