I have a Django project with two different admin sites (as described in the documentation )
I would like to have different custom templates for each of them. I know how to override a custom template by placing html files in the myproject / templates / admin / directory. However, both admin sites use these templates!
I do not understand how to specify a different set of custom templates.
Ideally, I would like to have:
myproject/templates/admin-a/
base.html
base_site.html
and
myproject/templates/admin-b/
base.html
base_site.html
Any ideas?
Thanks Stéphane
source
share