Beispiel #1
0
def add_product(title, description, image_path, catalog_path):
    product = ProductModel()
    product.title = title
    product.description = description
    product.image_path = image_path
    product.catalog_path = catalog_path
    product.put()