I've got an app from before 2.0 with wizard-generated code in multiple
views that looks similar to this.
{{=form}}
{{for t,f in db.t_sys_config._referenced_by:}}{{if not
t[-8:]=='_archive':}}[{{=A(t[2:],_href=URL('%s_select'%t[2:],args=(f,form.record.id)))}}]{{pass}}{{pass}}
Under web2py 2.4.6, the for loop throws a ticket because *_referenced_by*is
returning a list of Field objects instead of tuples. The app is running
in almost 100 different servers on 1.99. How can I modify the app code
(without doing something kludgey like detecting web2py versions) so it will
run under any web2py version?
Thanks,
Mike
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.