On Jul 12, 12:28 pm, Jannis Leidel <[email protected]> wrote:
> Yeah, django.utils.formats.localize is the main function to localize
> a value using the format localization engine from Python. The missing
> documentation is a bug, IMO.

Just a minor correction: localize does not use the localization engine
from Python, it uses Django's inbuilt localization. Python's
localization can't be trusted to be thread-safe (although on some
platforms it probably is). This is not a big point, except that the
inbuilt localization engine is slower than Python's. One is written in
Python, the other uses system libraries written in C.

 - Anssi

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.

Reply via email to