Changes between Initial Version and Version 7 of Ticket #21831
- 01/22/14 17:59:12 (2 years ago)
- Property Summary changed from Cannot run tests without contrib.auth in INSTALLED_APPS to If contrib.auth is not in INSTALLED_APPS, any import (even indirectly) of anything within contrib.auth causes Django to fail to startup
initial v7 1 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`). 2 3 `django.test` imports a number of login/logout-related methods from contrib.auth, in order to support auth-related features of the test client. 1 This is due to d818e0c9b2b88276cc499974f9eee893170bf0a8 (the new checks framework) and the new stricter app-loading stuff. It also relates to #20915 (the dependency that `django.test` has on `django.contrib.auth`) and #19774 (the dependency that `django.contrib.contenttypes` has on `django.contrib.admin` and thus indirectly on `django.contrib.auth`). 4 2 5 3 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`.