Hi Branko,

Both of your original solutions worked perfectly when I implemented
them correctly!

I decided to convert the results into a list, which made more sense.
I just have one question about the code.

web.template.Template.globals['bio'] = [b for b in db.select('bio')]
$for b in bio:

[b for b in db.select('bio')]  I understand that we are turning 'bio'
on the left side of the assignment into a List.  The right side is
what confuses me,

why are we putting a 'b' before the 'for' statement.  Why not just
[for b in db.select('bio')]?

Thanks for your time!

Brent Lingle

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to