On 4/12/06, Jiri Barton <[EMAIL PROTECTED]> wrote:
>
> how do I check if a variable is None in a template?
>
> I want to be able to discern among None, empty list, and non-empty
> list; then, I want to tell the user - say nothing, "nothing found",
> "found the following:" resp.
This is likely a si
Jiri Barton wrote:
>I want to be able to discern among None, empty list, and non-empty
>list; then, I want to tell the user - say nothing, "nothing found",
>"found the following:" resp.
>
>
I had a similar (but a bit more complex) thing solved for me by wrapping
a list in a dict:
result={} -
2 matches
Mail list logo