This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove case when last digit is ommited
In case of: amount = models.DecimalField( null=False, max_digits=16, decimal_places=2, blank=False, ) Decimal(47461379535606.35) converts to Decimal('47461379535606.4') What is not the best situation for testing. It seems that Django thinks about "." as a symbol that included into max_digits.
- Loading branch information