Oh ya, I forgot to mention that I'm not using the snippet as advertised either. I'm trying to make a CurrencyField object. Of course then I realized that the formatting of at least the admin list display was done outside of the Field objects, this (I believe the file is called result_list.py) is where I am attempting to put the currency format at the moment.
On Mar 10, 8:11 am, Joshua Russo <[email protected]> wrote: > I found this in my searches for formatting a decimal as a proper > currency output:http://www.djangosnippets.org/snippets/552/ > > The problem I'm running into is that the setLocale() line seems to be > choking on the non-base 128 characters that display in my site. I'm > creating the site to display Portuguese. I'm also passing in the > settings.LANGUAGE_CODE to the second argument of the method. Has > anyone run into this difficulty? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

