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
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
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
3 matches
Mail list logo