On Nov 27, 5:07 pm, Matias Surdi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Which is the best/recommended way to modify admin css ?
>
> I know I can copy the admin templates to my templates dir and modify
> them as I wish, but that could be a problem in the future if these
> templates are updated in a new version and I want to switch to that version.
>
> Thanks in advance.

You can give your admin class a custom Media class, which can provide
a list of CSS files which will be loaded in the admin form. See
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-media-definitions
--
DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to