Skip to content

Commit

Permalink
Merge pull request #432 from andytwoods/patch-1
Browse files Browse the repository at this point in the history
Update README.rst
  • Loading branch information
benjaoming committed Jul 15, 2018
2 parents c58e192 + 3a60bf5 commit 5c6961d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ Use as normal model fields:
class BankAccount(models.Model):
balance = MoneyField(max_digits=10, decimal_places=2, default_currency='USD')
balance = MoneyField(max_digits=14, decimal_places=2, default_currency='USD')
To comply with certain strict accounting or financial regulations, you may consider using ``max_digits=19`` and ``decimal_places=4``, see more in this `StackOverflow answer <https://stackoverflow.com/a/224866/405682>`__

Searching for models with money fields:

Expand Down

0 comments on commit 5c6961d

Please sign in to comment.