On 19 Jul 2006, at 16:22, kwe wrote: > Is there a way to display images in the list_display admin frontend? > > I tried writing a custom method for the model which returned the > necessary html to display the image - without success. The custom > method in the list_display just returned the raw html..
You need to add the just-documented allow_tags attribute to your custom method: http://code.djangoproject.com/changeset/3358 Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---