django-flexible-subscriptions
django-flexible-subscriptions copied to clipboard
Multiple currency support
Need to look at value of supporting multiple currencies or if that is out of scope of this application.
Have made base-minimum working system based off the locale module. This only supports a single currency, but could be extended.
Rationale
- Opted not to use the
localemodule as it required changing system-wide settings that could cause too many unintended side effects. - Looked into
babelmodule, but seemed like a large requirement to add to the project for a single required function.
Going Forward
- Will only be releasing with North American defaults for currency, but future currencies could be easily added by other developers (just need to populate the dictionary).
- Will review multiple currency support in the future.
It looks like Currency should be a model so that the developer can add currencies easily instead of relying on this being updated as hardcoded values.