Hello,
I am checking out web2py after doing a little bit of django and i was
wondering how you could do the following line in web2py:

p = Poll.objects.get(pk=1)
p.choice_set.create(choice='Not much', votes=0)

What i need to know is how to go from poll to choice like django
does.

Thanks.
Kev
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to