On Dec 23, 9:45 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> This can be achieved without modifying web2py. Here is what to do:

*Many* thanks for such a clear HOWTO :)

>     db.Field('owner',length=64),
> db.dog.owner.requires=IS_IN_DB(db,'person.uuid','%(name)s')

Does replacing the Field definition's db.person with a simple
'length=64' not affect CASCADE DELETE functionality?
This basically pushes the onus of referential integraity onto us from
the framework, right?

F
--~--~---------~--~----~------------~-------~--~----~
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 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to