restore composer.json, add mysqli extension

This commit is contained in:
2026-04-13 17:31:07 +05:00
parent 0ed82854d9
commit 524c5cc69c
4 changed files with 82 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ class ProductVariantModel(AbstractBaseModel):
price = models.DecimalField(verbose_name=_("price"), max_digits=12, decimal_places=2, default=0)
sku = models.CharField(verbose_name=_("SKU"), max_length=255, null=True, blank=True)
quantity = models.IntegerField(verbose_name=_("quantity"), default=-1)
image_url = models.URLField(verbose_name=_("image url"), max_length=1000, null=True, blank=True)
image = models.ImageField(verbose_name=_("image"), upload_to="variants/", null=True, blank=True)
attribute_data = models.JSONField(verbose_name=_("attribute data"), null=True, blank=True)
def __str__(self):