Django url with primary key code example
Example: Django url with primary key
<table>
{% for service in services %}
<tr>
<td>{{ service.services }}
<ul>
<li>Total Requirements Count = {{ service.requirements_set.count }}</li>
<li>Total Verified Count = {{ service.get_verifed_req_count }}</li>
</ul>
</td>
</tr>
{% endfor %}
</table>