Hi, I have developer (win) & production (debian) installations of
Django 0.97. There is one difference in admin app.
I have a photogallery, and Picture model has this method:

def show_thumb(self) :
                return '<a href="%s"><img src="%s"></a><br>%s' %
(self.get_image_url(), self.get_image_thumb_url(), self.image)

also I have this:
class Admin:
                list_display = ('description', 'show_thumb', 'quality')
in admin section.
This stuff allows me to see previews of the pictures in admin panel.
But on my production stage there is a problem: no pictures are
displayed, all tags, returned by show_thumb method are escaped, and I
have raw HTMl in corespondend column.
How can I change this behaviour?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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