Open boxed opened 11 months ago
Adding the conf on my Admin
subclass doesn't seem to do it either...
The workaround I came up with:
class MyAdmin(Admin):
# [....]
extra = html.h1(
'asdasd',
after=0,
include=lambda request, **_: request.get_full_path().endswith('/admin/'),
)
I tried adding
but that conf never gets to Admin.all_models