[web2py] Re: Coping with new behavior of _referenced_by

2014-08-02 Thread Srikanth Durbha
I'm trying to modify this a bit: https://github.com/mdipierro/web2py-appliances/tree/master/AppointmentManager and bumped into this problem of the for loop throwing a ticket. None of the suggested solutions seem to work for me. Any way out? On Saturday, 11 May 2013 23:46:19 UTC+5:30, Massimo Di

[web2py] Re: Coping with new behavior of _referenced_by

2013-05-11 Thread Massimo Di Pierro
Replace {{for t,f in db.t_sys_config._referenced_by:}} with {{for x in db.t_sys_config._referenced_by:}}{{t,f = x if isinstance(x,tuple) else (x.tablename,x.name)}} It should do the trick. Sorry for the late response. On Wednesday, 1 May 2013 16:37:29 UTC-5, Michael Ellis wrote: > > I've got

[web2py] Re: Coping with new behavior of _referenced_by

2013-05-08 Thread pjcow
This isn't exactly the solution you're looking for, in that it may not work for 1.99 (I no longer have that version running), but I have the same problem. As far as I can tell (broken apps), this code created buttons at the bottom of a form to access child records. example: original coding for