The class Price (models.py) was introduced recently. Lots of places and interfaces still rely on passing an amount and unit instead of a Price object. To be updated.
Second there are 'usd' defaults at too many places in the code. These should be factored. A DEFAULT_UNIT should also be introduced into settings.py
The class
Price
(models.py) was introduced recently. Lots of places and interfaces still rely on passing an amount and unit instead of aPrice
object. To be updated.Second there are 'usd' defaults at too many places in the code. These should be factored. A
DEFAULT_UNIT
should also be introduced into settings.py