[Answered ]-Reverse for 'unassign_emp' with arguments '('',)' not found. 1 pattern(s) tried: ['unassign\\-emp/(?P<eid>[^/]+)/\\Z']

1👍

inside the for loop, change usecase_assigned.user_email to user.user_email

{% for user in usecase_assigned %}
...

<form action="{% url 'unassign_emp' user.user_email %}" method="POST" style="display: inline !important;">
...

{% endfor %}

Leave a comment