1👍
✅
You are missing the object’s slug:
href="{% url 'posts:update' 'object-slug-here' %}
You can see some options to print an url using Django’s url template tag.
Source:stackexchange.com