[Fixed]-Django regex catching empty or space character

1👍

The error Reverse for '/' suggests that you have {% url '/' %} in your code. That doesn’t make sense – / is already a url, so there is no need to reverse it.

You should use the name of the url pattern with the url tag, for example:

{% url 'i' %}

Leave a comment