Fix overflow by IRT on exchange_rate DecimalField

This commit is contained in:
Reckless_Satoshi 2023-04-09 14:37:30 -07:00
parent 473a38faf9
commit 26a4d3860d
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -35,7 +35,7 @@ class Currency(models.Model):
choices=currency_choices, null=False, unique=True
)
exchange_rate = models.DecimalField(
max_digits=14,
max_digits=18,
decimal_places=4,
default=None,
null=True,