Look into dal.py this is added in:
if not referee_table in colset:
colset[referee_table] = Set(db, s == id)
For now you can just comment these two lines.
we could add a switch. One time I thought about
if not referee_table in colset:
colset[referee_table+'_by_'+refree_name] =
Set(db, s == id)
perhaps the switch should offer that as a third option?
I am afraid the switch will break plugins.
On Aug 15, 10:03 pm, Carlos <[email protected]> wrote:
> Hi pbreit,
>
> Thanks for your input, but that will not work, since row.fieldname still
> incorrectly returns the Set object (therefore not executing the 'or'
> statement).
>
> Secondly, fieldname is a str variable in my case, which can't be used
> directly with the dot notation.
>
> I just need to not have these back references automatically added to the row
> dictionary, maybe via a new switch, if possible.
>
> Massimo, what do you think?.
>
> Thanks,
>
> Carlos