T4P4N / t4p4n.github.io

My personal space on the internet!

Home Page:https://t4p4n.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Value from dictionary

pavankv1 opened this issue · comments

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.

i saw your dm on telegram.