On 26 Jun 2008, at 15:22, pihentagy wrote:

> Is there a way I can tell the model about the request's language? Or,
> well, I know it is a violation of MVC, but how to solve this problem?


from django.utils.translation import get_language
lang = get_language()

-- 
Nebojša Đorđević - nesh, Studio Quattro - Niš - Serbia
http://nesh.studio-quattro.info
http://www.ohloh.net/accounts/6315 | http://www.linkedin.com/in/neshdj
Registered Linux User 282159 [http://counter.li.org]


--~--~---------~--~----~------------~-------~--~----~
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