On Dec 30, 11:37 pm, mdipierro <[email protected]> wrote:
> New in trunk. Please give this a try:
Looking promising :)
However fails if I try to use uuid instead of id:
db.define_table('owner',SQLField('uuid',length=64,default=uuid.uuid4
()),SQLField('name'))
db.define_table('dog',SQLField('name'),SQLField('owner','text'))
db.dog.owner.requires=IS_IN_DB
(db,'owner.uuid','owner.name',multiple=True)
Also, currently it does break other stuff as the new 'multiple' field
isn't optional - I get this in my other controllers:
if not field.requires.multiple:
AttributeError: 'IS_NULL_OR' object has no attribute 'multiple'
> If you like it and if nothing breaks, this will go in 1.55.
Shaping up to be a big release :)
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 [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
-~----------~----~----~----~------~----~------~--~---