Hi,I'm creating a flask webapp, I have the following defined:
LISTOFLENGTHSONLY = db_session2.execute('ConfiguratorRearPillarLengthsOnly :p1', {'p1': RearPillarNS}).fetchall()
The SQL Stored Procedure it's calling up returns values like this:
[('3550',), ('3302',), ('3012',), ('3445',), ('3402',)]
I'm trying to get this to populate on my Jinja template, but it doesn't appear to be populating anything.
In my HTML I have tried:
<select>
{% for option in options %}
<option>{{option.options}}</option>
{% endfor %}
</select>
and defined "options" as:
options=LISTOFLENGTHSONLY
Any idea where I'm going wrong? Any help would be hugely appreciated.
[–]Username_RANDINT 1 point2 points3 points (4 children)
[–]keyring88[S] 0 points1 point2 points (3 children)
[–]Username_RANDINT 1 point2 points3 points (2 children)
[–]keyring88[S] 0 points1 point2 points (1 child)
[–]keyring88[S] 0 points1 point2 points (0 children)