>
> Still, what approach do you think of, when some parts (vars) returned from
> controller (and db) have empty values and then we need to keep extended's
> layout values in that places (i.e. {{super}})?
The other approach would be to return a value of None (or other "falsey"
value) for the variable in question rather than excluding the value
altogether. You'll still need a conditional in the view, but you won't have
to check whether the variable exists at all.
Anthony
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.