Re: confused over using ORM in view/template

2007-10-03 Thread James Bennett
On 10/3/07, staff-gmail <[EMAIL PROTECTED]> wrote: > So my question was how do I do ORM in a view ?? Where is "choice_set" > coming from ?? http://www.djangoproject.com/documentation/db-api/#backward -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct."

Re: confused over using ORM in view/template

2007-10-03 Thread Chris Brand
staff-gmail wrote: > Where is "choice_set" coming from ?? That one's easy - http://www.djangoproject.com/documentation/db-api/#backward Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: confused over using ORM in view/template

2007-10-03 Thread Malcolm Tredinnick
On Wed, 2007-10-03 at 12:40 -0600, staff-gmail wrote: > So my question was how do I do ORM in a view ?? See [1] where it explains how dotted references are mapped back to Python objects. > Where is "choice_set" > coming from ?? Based on the name and the examples shown, it's related to the

Re: confused over using ORM in view/template

2007-10-03 Thread staff-gmail
So my question was how do I do ORM in a view ?? Where is "choice_set" coming from ?? I'm just looking for some very practical answers so I can get something working - and if I'm a fairly bright guy and can't figure it out, obviously there's some improvement required - and maybe I will