python-money
python-money copied to clipboard
Primitives for working with money and currencies in Python
This fixes a problem when calling deepcopy() on Money, which caused a new Currency instance to be created. Using namedtuple seems like a good fit to guarantee Currency immutability.
In certain instances, the currency subfield (`total_currency` for example) could be of type `Currency` instead of a string-like.
Expose symbol attribute
Hi, I can't figure out under which license this library is intended to be used. My only solution is to not use it, unfortunately. Could you look into whether it's...
LOOKUP_SEP settings has been moved in "django.db.models.constants" from django 1.5
I have run into the need to look up a Currency by ISO country code (so this works with django-countries) for example. Thought this might be useful to others.