On 3/1/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
> How can i send a datetime in the client preferred format? Note: i don't
> wand to use a template filter to handle this ;)

And yet this is *exactly* what the 'date' template filter is for; it's
a presentation issue, so a filter in the presentation layer is the
correct place to handle it.

>   - django doesn't setup a client preferred language based on the
> HTTP_ACCEPT_LANGUAGE string. Why?

If you have LocaleMiddleware enabled, Django *does* select a language
based on the Accept-Language header. See the i18n docs for more.

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to