What's get_select()?

On Monday, 21 May 2012 10:06:42 UTC-5, Cliff wrote:
>
> I cannot see what I'm doing wrong.
>
> In the controller, I have functions like this:
>
> def mk_select(rows):
>   out = SELECT()
>   for row in rows:
>     out.append(row.somefield)
>   return out
>
> def edit():
>   rows = get_rows()
>   return dict(my_select=get_select(rows))
>
> Then in the view, I do:
> {{=my_select}}
>
> But the browser shows:
> (<gluon.html.SELECT object at 0x7fedc43b3d90>,) 
>
> Surely this is not rocket science, but I cannot see the problem.  All help 
> gratefully accepted.
>

Reply via email to