def __unicode__(self): res='%s'%self.product if not self.quantity==1: res+='(%d)'%self.quantity res+=' for %s%s'%(rstripz(self.cost), self.currency.symbol) return res
def __unicode__(self): return '%s %s: %s'%(self.spot, self.created.strftime(DATE), rstripz(self.amount))#','.join([str(s) for s in self.sets.all()]),)