Re: can't get LANGUAGES to work in the base template

2006-10-08 Thread Baurzhan Ismagulov
On Sun, Oct 08, 2006 at 06:27:38PM +0400, Ivan Sagalaev wrote: > If I correctly suspect that we speak the same language then I can > recommend my blog post about it: > http://softwaremaniacs.org/blog/2006/01/12/context-processors/ This is great, it describes first the use case rather than the f

Re: can't get LANGUAGES to work in the base template

2006-10-08 Thread Baurzhan Ismagulov
Hello Ivan, On Sun, Oct 08, 2006 at 05:54:27PM +0400, Ivan Sagalaev wrote: > All the extra information (such as {{ user }} or {{ LANGUAGES }}) is > passed to templates by a RequestContext that processes a number of > context processors defined in TEMPLATE_CONTEXT_PROCESSORS in settings. > > I

Re: can't get LANGUAGES to work in the base template

2006-10-08 Thread Ivan Sagalaev
Baurzhan Ismagulov wrote: > I'm using django 0.96 r3709. I have base.html, page1.html, and > page2.html templates. The latter two extend the former one. base.html > creates a box with all supported LANGUAGES. This works as > expected in page1, but not in page2. page1 is a verdjn templatepage > (r

can't get LANGUAGES to work in the base template

2006-10-08 Thread Baurzhan Ismagulov
Hello all, I'm using django 0.96 r3709. I have base.html, page1.html, and page2.html templates. The latter two extend the former one. base.html creates a box with all supported LANGUAGES. This works as expected in page1, but not in page2. page1 is a verdjn templatepage (rendered with HttpRespons