Site Sections: Satchmo Main | Wiki | Demo Store |

Show
Ignore:
Timestamp:
03/15/2008 01:28:20 AM (1 year ago)
Author:
chris
Message:

Adding website thumbnails to front page.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • satchmoproject.com/satchmo_website/apps/misc_apps/models.py

    r1063 r1065  
    1010    owner = models.CharField(max_length=100) 
    1111    owner_email = models.EmailField(blank=True, null=True) 
    12     picture = ImageWithThumbnailField(verbose_name="Thumbnail", upload_to="images", 
    13                 name_field="_filename") 
     12    picture = ImageWithThumbnailField(verbose_name="Thumbnail", upload_to="images") 
    1413    def __unicode__(self): 
    1514        return self.name