> > It is about how to use color in list_display. > When i use it, I didn't correctly get the colored field of > first_name. > Only get strings like '<span style="color: #%s;">%s</span>' in this > field. > Is there anything I misunderstand to make it work correctly?
Your use of "allow_tags" looks good. A recent release of Django introduced this bug (the auto-escape update). See this ticket: http://code.djangoproject.com/ticket/5973 The quickest fix is to update to the latest Djagno SVN release as this bug is already fixed. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---