On Fri, Jul 30, 2010 at 11:14:42AM +0200, Alexandre González wrote:
> If I add:
>
> import settings
> LANGUAGES=settings.LANGUAGES
>
> and return it in the render_to_response it works perfectly, but can I
> automatice this in all views?
Sure, it works for me without passing LANGUAGES explicitly.
If I add:
import settings
LANGUAGES=settings.LANGUAGES
and return it in the render_to_response it works perfectly, but can I
automatice this in all views?
On Fri, Jul 30, 2010 at 10:55, Baurzhan Ismagulov wrote:
> On Thu, Jul 29, 2010 at 11:52:31PM +0200, Alexandre González wrote:
> > 42
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't
> provide automatically, do i need to send it in the views?
I don't know whether it's relevant, but do you {
Hi!
I have this templates:
39
40
41
42 {% for lang in LANGUAGES %}
43 {{ lang.1 }}
44 {% endfor %}
45
46
47
That show my languages in the webpage. I made it with tutorial:
http://djangobook.com/en/2.0/chapt
4 matches
Mail list logo