Health Check installed apps breaks Jazzmin
Archmonger opened this issue · comments
Mark Bakhit commented
When health_check is added as an installed app, Django will revert to the classic admin interface instead of Jazzmin.
It appears that some of the health check imports prematurely loads the admin library.
Need to investigate db, cache, storage, and migrations libraries to track down root cause.
# Jazzmin is NOT used
{
"jazzmin",
"django.contrib.admin",
"django.contrib.admindocs",
"health_check",
... ,
}
# Jazzmin is NOT used
{
"health_check",
... ,
"jazzmin",
"django.contrib.admin",
"django.contrib.admindocs",
}
# Django periodically boots up and uses the Jazzmin. Roughly 50/50 occurrence.
{
"jazzmin",
"health_check",
... ,
"django.contrib.admin",
"django.contrib.admindocs",
}
# NOTE: Where `health_check` is used, the following is also used...
{
"health_check.db",
"health_check.cache",
"health_check.storage",
"health_check.contrib.migrations",
"health_check.contrib.psutil",
}
Mark Bakhit commented
Debugged and determined issue to not be related to Django Health Check, closing this ticket.