Answers for "how to pass primary key to url django"

0

how to pass primary key to url django

<a href="{% url 'category_detail' pk=post.category.id %}" >{{ post.category }}</a>
Posted by: Guest on May-20-2021

Python Answers by Framework

Browse Popular Code Answers by Language