Its complaining about line no.14 because Django is unable to determine the url named as “index” in your urls.py files. I don’t see a URL named as “index” above. Where/What is the URL pattern for your home page?
This happens when the URL match expression has a parameter but there are none passed in with the reverse in the template.
- Make browser submit additional HTTP-Header if click on hyperlink
- Django Rest Framework: how to make field required / read-only only for update actions such as PUT and PATCH?