Refactor AdminSite.check_dependencies with the checks framework
The title says it all.
This ticket should also consider improving or dropping the check for the auth
context processor. Currently it's skipped when there isn't exactly one Django templates engine configured in TEMPLATES
. This could be improved. It doesn't account for the possibility that a developer will provide their own customized version. This is intractable.
Description: |
modified (diff)
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Vincenzo Pandolfo
|
Status: |
new → assigned
|
Has patch: |
set
|
Needs documentation: |
set
|
Needs tests: |
set
|
Needs documentation: |
unset
|
Needs tests: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Another problem from duplicate ticket #25877, "It runs as a side effect of loading the admin URLs. If it must run when Django starts it should be called from
AdminAppConfig.ready()
instead."