minIo toglrilandi v6

This commit is contained in:
Husanjonazamov
2026-03-30 15:24:17 +05:00
parent 9a16c4ae17
commit cac185d362
3 changed files with 20 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ from model_bakery import baker
class FilialModel(AbstractBaseModel):
name = models.CharField(verbose_name=_("name"), max_length=255)
image = models.ImageField(verbose_name=_("image"), upload_to="filials/", null=True, blank=True)
def __str__(self):
return self.name