hi,

using trunk. I have line in template like this:

    {% get_current_language as LANGUAGE_CODE %}
I want to pass the current language to a templatetag for some
processing. So i call it like this:

{% get_menu "LANGUAGE_CODE" %}

to get the language code, I try:

self.lang = Variable(lang), but it is not working. I am not getting the
language code, rather I am getting the string 'LANGUAGE_CODE'. Any
clues?
-- 
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to