You now have until September 15th to submit your use case or success story to the 2022 Dataiku Frontrunner Awards!ENTER YOUR SUBMISSION

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

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

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

0 Kudos
0 Replies