[Fixed]-Django NoReverseMatch exception in django template

1👍

There were 2 possible solutions to my problem:

  1. Removing the books namespace from my main urls.py.

  2. Adding the namespace in the django template url as devxplorer mentioned.

    <a href="{% url 'books:example' 2014 %}">2014 Archive</a>
    
👤alex

Leave a comment