websocket & change broker decimal to int

This commit is contained in:
2025-07-19 14:33:18 +03:30
parent 533461ba1a
commit c87204c134
10 changed files with 99 additions and 10 deletions

View File

@@ -450,7 +450,7 @@ class QuotaBrokerValue(BaseModel):
on_delete=models.CASCADE,
related_name='values'
)
value = models.DecimalField(max_digits=12, decimal_places=2)
value = models.PositiveBigIntegerField(default=0)
def __str__(self):
return f"Quota ({self.quota.id}) for Broker({self.broker.organization.name})"