Having fixtures supplied would speed up developer integration
Having initial_data.json include all default world currencies would help developers in setting up their projects to use django-currencies. It would be recommended to set all currencies is_active to False by default.
Additionally, it would be best if is_default is removed from the currency model, as you can only have one default currency (I assume this statement is correct!) It would be better to set the default currency in the project settings.py (eg. CURRENCY_DEFAULT = 'USD')
Edit: This would work well in concert with the other blueprint I registered (bulk updating of currency exchange rates/factors)
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
I think adding a fixture with an up-to-date list of all currencies would be a nice addition.
Though is_default is a nice trick IMO (at least I use it). Instead of having to modify settings.py your site admin can switch between the default currency from the admin interface. I think that it makes things easier.