I have a testing view that uses loader.get_template/render(context) combo,
and in settings.py I have put:
TEMPLATE_CONTEXT_PROCESSORS = (
                                "django.core.context_processors.auth",
                                "django.core.context_processors.debug",
                                "django.core.context_processors.i18n",
                                )

but I don't get the LANGUAGES tuple on the rendered page, and hence a form
from the extendable
template is not working:

------Renders nothing----------
{% for lang in LANGUAGES %}
<option value="{{ lang.0 }}">{{ lang.1 }}</option>
{% endfor %}
------Renders nothing----------

Is there anything else I should do for it to work ?, maybe call some i18n
module on view ?

i18n works just fine on generic views with a very similar template.

Max

p.d. I sent a question about cache_page decorator but nobody has made any
commentary, is there any magic to make it work too?

-- 
<?php
$signautre = null;
echo $signature;

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