change serializer fields

This commit is contained in:
behruz-dev
2025-08-07 17:29:05 +05:00
parent 2999d4bdab
commit c902a09c7b
9 changed files with 157 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ class Project(BaseModel):
CashTransaction, related_name='projects'
)
currency = models.CharField(choices=[('usd', 'usd'),('uzs','uzs')], max_length=3, default='uzs')
benifit_plan = models.PositiveBigIntegerField(null=True)
benifit_plan = models.PositiveBigIntegerField(null=True, blank=True)
status = models.CharField(max_length=20, choices=STATUS, default='PLANNED')
is_archive = models.BooleanField(default=False)