Changes between Initial Version and Version 7 of Ticket #21831


Ignore:
Timestamp:
01/22/2014 05:59:12 PM (16 months ago)
Author:
carljm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21831

    • 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
  • Ticket #21831 – Description

    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.
     1This 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`).
    42
    53The `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`.
Back to Top