On Mar 10, 8:29 am, Malcolm Tredinnick
wrote:
> On Tue, 2009-03-10 at 02:11 -0700, Joshua Russo wrote:
> > I found this in my searches for formatting a decimal as a proper
> > currency output:http://www.djangosnippets.org/snippets/552/
>
> Oh, that's a really bad idea.
On Tue, 2009-03-10 at 02:11 -0700, Joshua Russo wrote:
> I found this in my searches for formatting a decimal as a proper
> currency output: http://www.djangosnippets.org/snippets/552/
Oh, that's a really bad idea. :-(
Calling setlocale() in multi-threaded applications is simply not
something
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
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
4 matches
Mail list logo