Commits

Chris Moffitt committed a4fa68b

Fix a typecast bug.

Comments (0)

Files changed (1)

satchmo/apps/satchmo_store/shop/models.py

                         try:
                             similarItem.details.get(
                                     name=detail['name'],
-                                    value=str(detail['value']),     # typecasting for Postgresql
+                                    value=unicode(detail['value']),     # typecasting for Postgresql
                                     price_change=detail['price_change']
                                     )
                         except CartItemDetails.DoesNotExist: