Value from dictionary
pavankv1 opened this issue · comments
pavankv1 commented
In template i had given like this i want to get only one project value as number.
{{ row.name }} {{ row.id }} {% for heading in project_list %} {% if heading in row.projects %} {{row.projects}} {% else %} 0 {% endif %}> {% endfor %}output:
{'Example Project 2': 25, 'Tool Makers': '75', 'New Project': '75'}
my output looks like this but i need 25 as output
what can I change in if condition to achieve my output ,can anyone pls help me to sort it.
Tapan Kashyap commented
i saw your dm on telegram.