[web2py] Re: computed field and reference

2013-05-29 Thread Matteo Luperto
I've deleted the testing db and started with a new one and now it works for me too. I've tried add a new record to "problemsHere" but it gave me an unexpected error (the DAL expected an unique field in "language" and "language" is no longer an unique field), so probably the issue was somewhere

[web2py] Re: computed field and reference

2013-05-27 Thread Niphlod
I can't replicate the issue you're having. That syntax works. Check again your code BTW: it's quite a strange model. you want the language to be unique in the first table. In the second one you reference the first table (that is unique by definition) with a non unique reference, but then y