The following url:
<a href="{% url 'view' i.value %}" >VIEW DETAILS</a>
directs to:
http://localhost:8000/view/value%20%20%20
Instead it should direct to
http://localhost:8000/view/value
How to solve this?
CodePudding user response:
Remove spaces from url then it should work.The escape character is for space.