It works, thanks! I forgot the whole thing. When I started with web2py, one 
expert recommended me not to use list references but do all intermediary 
tables yourself.

Is there any drawbacks to use list reference instead of doing those 
intermediary tables yourself?


lauantai 30. huhtikuuta 2016 17.09.05 UTC+3 Pierre kirjoitti:
>
> this might help:
>
>
>
>
> *db.define_table('thing_has_property',                                  
> Field('property_ids','list:reference property')*it allows you to manage 
> properties order like so : p1 = row.property_ids[0],  
> p2=row.property_ids[1].......etc
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to