my urls.py code is,
path('case-studies/',views.CaseStudiesView.as_view(),name='case_studies'),
my views.py code is,
class CaseStudiesView(TemplateView):
template_name = "caseStudies.html"
whenever I run my code I found the error as,
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'case_studies' not found. 'case_studies' is not a valid view function or pattern name.
Can anyone please help me to figure out the issue