djaodjin / djaodjin-saas

Django application for software-as-service and subscription businesses
Other
564 stars 124 forks source link

Cleaning up (amount, unit) tuples #92

Closed smirolo closed 6 years ago

smirolo commented 8 years ago

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

smirolo commented 6 years ago

Completed in commit a3632414.