fixes addtestdata, working on vectorized database search

This commit is contained in:
Sam
2021-02-18 11:54:01 +00:00
parent c9a4513dd8
commit c3a7321c9e
6 changed files with 28 additions and 5 deletions

View File

@@ -70,7 +70,10 @@ class Command(BaseCommand):
# TODO: apply automatic tags from tag list
# TODO: write image to S3 storage
# create instance
product = ProductFactory(name=name, description=description)
product = ProductFactory(
company=company,
name=name,
description=description)
# get image
response = requests.get(self.logo_url, stream=True)