2👍
✅
The error suggests that somewhere in your template you have {% url 'index' %}
.
It should be {% url 'invoices:index' %}
as you have elsewhere.
This could be in your base.html
which you have not shown.
0👍
I don’t know how you pass the browser url, but try to change your url(r’^$’, views.index, name=’index’), to url(r’^index/$’, views.index, name=’index’),
I advise you to review your url pattern
- [Answered ]-Difficulty with managing the error in Django – NoReverseMatch at
- [Answered ]-Baffled by python __str__ method and unicode behaviour
Source:stackexchange.com