Keeping accurate amounts in Django with CurrencyField
At Wundermart we started saving monetary amounts in Django, we naively started with DecimalField(decimal_places=2) for our financial data. After some time we realized that you will lose data this way when applying calculations, for example:
€100 * 0....
deepintodjango.com2 min read