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 21831,Cannot run tests without contrib.auth in INSTALLED_APPS,Carl Meyer,nobody,"This is a result of the interaction of d818e0c9b2b88276cc499974f9eee893170bf0a8 (the new checks framework) and #20915 (the dependency that `django.test` has on `django.contrib.auth`). `django.test` imports a number of login/logout-related methods from contrib.auth, in order to support auth-related features of the test client. The `check_user_model` check for contrib.auth is registered in `django/contrib/auth/__init__.py` as a side effect of importing anything from within `django.contrib.auth`. Actually executing the `check_user_model` check when contrib.auth is not installed results in ""LookupError: No installed app with label 'auth'."" on the `cls = apps.get_model(app_name, model_name)` line.",Bug,new,Core (Other),dev,Release blocker,,,,Accepted,0,0,0,0,0,0