Home > Mobile >  How to remove in url? (Django)
How to remove in url? (Django)

Time:12-08

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.

  • Related