Skip to content

Commit 48c86bc

Browse files
committed
Fix tests.models.Cart.__str__
1 parent e9c40fe commit 48c86bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class CartItem(models.Model):
143143
)
144144

145145
def __str__(self):
146-
return "Cart item #%s: SKU %s" % (self.pk, self.sku)
146+
return "Cart item #%s: product code %s" % (self.pk, self.product_code)
147147

148148

149149
class ProductFilter(models.Model):

0 commit comments

Comments
 (0)