websocket & change broker decimal to int
This commit is contained in:
@@ -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})"
|
||||
|
||||
Reference in New Issue
Block a user