I'm only guessing, but I think the escaping is being done at rendering time
by the template itself. Take a look at the default admin templates and
check the docs for an explanation on how to override them with your own.
Protip: do not edit the original files!
Cheers,
AT
-- Sent from my phone, pl
Is it possible to avoid HTML escaping in admin?
I have defined a model with verbose_name for several fields.
In verbose_name I need HTML code to highlight part of the string e.g.
d1 = models.CharField(max_length=1, blank=False, default='0',
verbose_name="Hi all!'').
In admin the text gets escap
2 matches
Mail list logo