You do not show the select but from this:
recipient=item.contactpersoon.email
looks like you do a join. If this is the case
recipient=item[0].email
should be
recipient=item[0].contactpersoon.email
On Oct 20, 5:00 am, annet wrote:
> When I expose this function in controller locato
In both cases, when I expose the functions neither m_list nor item is
empty (I tried print db(...).select(...)). The problem doesn't occur
in the first function, where m_list can contain more than one row, the
problem occurs in the second function, where item contains one row.
Furthermore the seco
The first version protects from the case m_list is empty so IMHO it is
better. I don't think that is what you are experiencing with the local
vs remote web server observation.
On Oct 20, 3:00 am, annet wrote:
> When I expose this function in controller locatormail:
>
> def send_mail():
> m_li
3 matches
Mail list logo