Someone have an idea?

Here is the code that works:
    features= [{"type": "Feature",
                "properties": {
                    "popupContent": "<a href='" +  URL('default', 
'event_page', vars=dict(event_id=event[])) + "'>" + 
event[] + "</a>",
                    "track_quotation": str(event[])
loads_json(event[])} for event in events]

But I would like to traduce it in a loop like that:
for event in events:

Il giorno martedì 13 settembre 2016 15:36:32 UTC+2, Gael Princivalle ha 
> Hello.
> Can someone explain me why when I use this set of rows:
> events= db(>0).select(,, 
> I can't call my rows with event.title but with event[] ?
> It's a problem because if I would like to call for a reference field like 
> event[] ticket is wrong attribute.
> Thanks.

- (Documentation)
- (Source code)
- (Report Issues)
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 
For more options, visit

Reply via email to