These are chat archives for pythonvietnam/Flask

7th
Jan 2017
Chris Lapa
@GusBricker
Jan 07 2017 04:47
Hello
YaduKrishna
@yadu007
Jan 07 2017 04:48
hi
Chris Lapa
@GusBricker
Jan 07 2017 04:48
Is this the right place to ask a Flask/Jinja2 question?
YaduKrishna
@yadu007
Jan 07 2017 04:49
i think so. :)
Chris Lapa
@GusBricker
Jan 07 2017 04:49
Doh
Ill put it in a pastebin or snippet, gimmie 5
The Jinja template is not working correctly, for some reason the recording.name property cannot be accessed.
Am i doing something wrong here?
Chris Lapa
@GusBricker
Jan 07 2017 05:00
The for loop is working correctly in that it is listing the recordings, I just cant access any of the recordings member variables.
Chris Lapa
@GusBricker
Jan 07 2017 05:06
I just figured it out, doh!
I had forgotten the recording list is a dictionary, not a list. Which means I need to access the value.
Not the key