I've just updated to 2.5.1 and I found this problem:
Inside my site have a google map and I need to add an array with several
marker;
in my controller I have a simple query with a cycle
def mappa:
markers=[]
for row in db().select(db.produttori.ALL):
markers.append([row.id, row.lat, row.lng])
return dict(markers=XML(*[markers]))
and I obtein ID + L, like this:
[1L, '12.5', '7.6']
so I need to do int(row.id)
In the older version worked well...
s.
--
---
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.