Re: Add a css file into the admin zone

2007-06-04 Thread jordi.f
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

Re: Add a css file into the admin zone

2007-06-03 Thread sansmojo
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

Add a css file into the admin zone

2007-06-02 Thread Grupo Django
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.