Thanks for this response, this is exactly what I needed to know.
On Mon, May 5, 2014 at 6:26 AM, Marc Tompkins <marc.tompk...@gmail.com>wrote: > On Sun, May 4, 2014 at 1:55 PM, Sithembewena Lloyd Dube <zebr...@gmail.com > > wrote: > >> Thanks, i was actually getting the error information to update the post. >> Apoligies to waste your time posting here - I could not find an appropriate >> PyCountry discussion list and my next best bet seemed to be a Python users' >> list. >> >> > You also posted on StackOverflow; I just answered you there. In short: > the currency numeric is not guaranteed to be the same as the country > numeric (in the case of the Euro, how could it possibly be?) The numeric > for DE is 276; the numeric for the Euro is 978. Obviously they don't match. > > PyCountry is a wrapper around some tables provided by Debian; those tables > don't include a country/currency mapping. You can find those mapping > tables at > http://www.currency-iso.org/en/home/tables/table-a1.html > and roll your own wrapper; I'm sure it's been done a thousand times > before, but I'm not aware of a Python package that does this. > -- Regards, Sithu Lloyd Dube -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH-SnCAxM%2Bnz4%2Bi24QePUHceR_AKovcXbTpnBu%3DBc7R3_1q5ug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.