Dataiku Webapp | Flask jinja template issue | unable to render json response in frontend using jinja

Jay
Jay Partner, Registered Posts: 2 Partner
edited July 16 in Using Dataiku

Hi,

Wants to show JSON response using jinja template engine in frontend in dataiku webapp environment. when I do so, I get stuck showing the json data.

My question is that whether dataiku supports jinja template engine or not in flask?

Note : I am able to do it on local but not on dataiku platform.

Any help or suggestion would be appreciated!

Below is the sample snippet of my code.

 <tbody>
{% for post in posts %}
<tr style="font-size:20">
<td>{{ post.page_id }}</td>
<td>{{ post.doc_id }}</td>
<td>{{ post.sent_id }}</td>
<!--<td>{{ post.doc }}</td>-->
<td>{{ post.sentences }}</td>
</tr>
{% endfor %}

.


Operating system used: windows

Tagged:
Setup Info
    Tags
      Help me…