Changeset 69

Show
Ignore:
Timestamp:
09/15/09 16:42:04 (3 years ago)
Author:
nazar
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plesonet_imagefield/trunk/README

    r68 r69  
    3535                                                 } 
    3636                                             }) 
    37                                                              
     37     
     38    ... 
     39     
    3840    def photo_img(self): 
    39         if self.photo == 0: 
     41        if self.photo: 
    4042            return self.photo.thumbnail_tag 
    4143        else: 
    4244            return "" 
     45    photo_img.short_description = _("Photo") 
     46    photo_img.allow_tags = True 
    4347... 
    4448