Store product title from attribute?

This commit is contained in:
Felipe Martín 2015-09-22 20:09:09 +02:00
parent e4baaed1dd
commit 9ee12f7be3
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Command(BaseCommand):
item_id=product['shop_product_id'],
shop__flag_code=region[0]
)
amiibo_shop.shop_name = product['title']
amiibo_shop.shop_name = product.title
amiibo_shop.update_price(product['price'], product['currency'])
def handle(self, *args, **kwargs):