class ProductItemPipeline(object):

    def process_item(self, item, spider):
        if isinstance(item, ProductItem):
            item['cover_photo'] = item['files'][0]['path']
Django Relations with Scrapy how are items saved?