Should we allow references other than to the id field?

Massimo

On Nov 28, 2:04 pm, DenesL <[EMAIL PROTECTED]> wrote:
> Note: with the second solution a record from table violazioni will not
> have an autocreated sanzioni attribute which allows things like:
>
> for v in db().select(db.violazioni.ALL):
>     print v.codice
>     for s in v.sanzioni.select():
>         print '    ',s.sanzione
>
> On Nov 28, 11:34 am, pmate <[EMAIL PROTECTED]> wrote:
>
> > Your second solution is exactly that one that i have chosen as
> > alternative to my first question.
> > Thanks a lot
>
> > Paolo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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