Make _calculate_price available via utils.py
Bug #678246 reported by
Martin Fitzpatrick
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django-currencies |
Fix Released
|
Wishlist
|
Panos Laganakos |
Bug Description
It would be helpful to have access to the _calculate_price function in a more accessible location for use in other models (on the fly conversion etc.) Please move the _calculate_price function to utils.py or similar.
Not a big issue but prevents ugly referencing into a private function / wraparound functions. Thanks
Changed in django-currencies: | |
status: | Confirmed → Fix Committed |
Changed in django-currencies: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It didn't seem at the time that it would be useful outside of the templatetags, but if it's helpful to you anyone who wishes to make use of it, I'll make it more accessible.