Re: Problems with template IFs and generic views

2006-11-06 Thread Ivan Sagalaev
[EMAIL PROTECTED] wrote: > I'm using django.views.generic.list_detail.object_detail to show a > page. Beside text it has optional "leftmenu" field. What I want to do > is to show it in a html block if it exists (there is somethign in > "leftmenu"). The problem is that it shows always or never. >

Problems with template IFs and generic views

2006-11-05 Thread [EMAIL PROTECTED]
I'm using django.views.generic.list_detail.object_detail to show a page. Beside text it has optional "leftmenu" field. What I want to do is to show it in a html block if it exists (there is somethign in "leftmenu"). The problem is that it shows always or never. I have: ### {% if