Re: Strange 'if' behaviour in template

2007-10-02 Thread AndyB
I've just spotted something fairly obvious! The whole thing is wrapped in: {% if inline_admin_form.original or inline_admin_form.show_url %} That would explain it then! On Oct 2, 4:25 pm, AndyB <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm overriding an admin template (but doubt uf that is par

Strange 'if' behaviour in template

2007-10-02 Thread AndyB
Hi there, I'm overriding an admin template (but doubt uf that is particularly relevent) and am not sure why the following behaviour occurs. I've modified the line: {% if inline_admin_form.original %}{{ inline_admin_form.original }}{% endif %} to be: {% if inline_admin_form.original %}test1{{