Site Sections: Satchmo Main | Wiki | Demo Store |

Changeset 1590

Show
Ignore:
Timestamp:
10/03/08 23:40:01 (2 months ago)
Author:
chris
Message:

Make display of description fileds consistent. Closes #367

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • satchmo/trunk/satchmo/product/models.py

    r1578 r1590  
    772772    product = models.ForeignKey('Product', related_name="translations") 
    773773    languagecode = models.CharField(_('language'), max_length=10, choices=settings.LANGUAGES) 
    774     name = models.CharField(_("Full Name"), max_length=255, ) 
     774    name = models.CharField(_("Full Name"), max_length=255) 
     775    description = models.TextField(_("Description of product"), help_text=_("This field can contain HTML and should be a few paragraphs explaining the background of the product, and anything that would help the potential customer make their purchase."), default='', blank=True) 
    775776    short_description = models.TextField(_("Short description of product"), help_text=_("This should be a 1 or 2 line description for use in product listing screens"), max_length=200, default='', blank=True) 
    776     description = models.TextField(_("Description of product"), help_text=_("This field can contain HTML and should be a few paragraphs explaining the background of the product, and anything that would help the potential customer make their purchase."), default='', blank=True) 
    777777    version = models.IntegerField(_('version'), default=1) 
    778778    active = models.BooleanField(_('active'), default=True)