django-currencies icon indicating copy to clipboard operation
django-currencies copied to clipboard

Support alternate currencies from Open Exchange Rates

Open tehfink opened this issue 7 years ago • 2 comments

Support for the flag "show_alternative=true" would be nice, as detailed here: https://docs.openexchangerates.org/docs/supported-currencies#alternative-black-market-and-digital-currencies

tehfink avatar Jan 07 '18 20:01 tehfink

Do we want to do this? It would involve changing the database model to allow longer codes and descriptions because they are no longer standard 3 character, e.g. VEF_BLKMKT. This would also mean the codes are probably different across different currency sources. I'll push a separate branch but not sure this is really "production-ready"

racitup avatar Nov 30 '18 01:11 racitup

You will have trouble importing alternative currencies with non-standard length codes using the --import switch using the branch above because the command code checks the code has 3 characters. Easily worked around by putting the codes into one of the supported setting variables.

racitup avatar Dec 12 '18 03:12 racitup