sansmojo's suggestion works perfectly, but I prefer doing this on the
'admin/base_site.html' template. It's shorter and easier to modify.
-- jordi.f
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gr
Most of the admin templates have an extrahead block that you can use
to insert additional stylesheets. If it's a stylesheet that you want
to load throughout the admin, it's easy. Just copy the base.html
template (django/contrib/admin/templates/admin/base.html) to your own
templates/admin/base.ht
Hello, I read that it's possible to add custom javascript to the admin
zone using:
class Admin:
js = (
'/templates/jscripts/admin.js',
)
How can I add a customs stylesheet? I had to do it appending it to the
document, using javascript and the DOM.
Thank you.
3 matches
Mail list logo