Reverse for 'hobbieswithCSS.html' not found. 'hobbieswithCSS.html' is not a valid view function or pattern name (solved)
问题 I am trying to attach hobbieswithCSS.html file to my website, while using Django. I am a beginner when it comes to Django, so I have naturally came across some problems (in the title) like this. I have this anchor tag on my homepage - <a href="{% url 'basic_app:hobbieswithCSS.html' %}">My Hobbies</a> I have this view in my views.py file - def hobbieswithCSS(request): return render(request,'basic_app/hobbieswithCSS.html') I think, that the main problem will be with the urlpatterns in urls.py