fix --> livestock species

This commit is contained in:
2026-01-24 15:03:04 +03:30
parent c3511590b7
commit 6d55f1cd3b
5 changed files with 59 additions and 1 deletions

View File

@@ -7,7 +7,9 @@ from apps.tag import models as tag_models
class LiveStockSpecies(BaseModel): # noqa
""" species of live stocks like Kurdi, Luri, etc """ # noqa
name = models.CharField(max_length=50)
name = models.CharField(max_length=50, null=True)
en_name = models.CharField(max_length=50, null=True)
value = models.IntegerField(default=0)
def __str__(self):
return f'{self.name}'