import settings
LANGUAGES=settings.LANGUAGES
and return it in the render_to_response it works perfectly, but can I automatice this in all views?
--
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt and/or .pptx
http://mirblu.com
-- On Fri, Jul 30, 2010 at 10:55, Baurzhan Ismagulov <ibr@radix50.net> wrote:
On Thu, Jul 29, 2010 at 11:52:31PM +0200, Alexandre González wrote:...
> 42 {% for lang in LANGUAGES %}
> It works perfectly in some webs, but in others the var LANGUAGES isn'tI don't know whether it's relevant, but do you {% load i18n %} in your
> provide automatically, do i need to send it in the views?
templates? I also pass context_instance=RequestContext(request) from the
views, works fine for me.
With kind regards,
Baurzhan.
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt and/or .pptx
http://mirblu.com
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment