Okay, I've got it! > I've installed photologue recently, and it's a great app. > Works like a charm... > > The only thing that doesn't is the thumbnail preview in the admin. > I think photologue spits out the correct html: > > <a href="/photos/photo/testzipphoto-10/"><img > src="http://127.0.0.1:8000/site_media/photologue/photos/cache/DSC04668_admin_thumbnail.JPG > > "></a> > > But the admin interface escapes it, so I don't see any nice > thumbnails, just html... > > How can I change this?
The 'list_display' string in question is a method of a model, those are automatically escaped by django. But you can set it to allow tags like this: admin_thumbnail.allow_tags = True See here: http://www.djangoproject.com/documentation/admin/#list-display -benjamin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---