Django Noob here.
NoReverseMatch at /sitemap.xml Reverse for 'article_detail' not found. 'article_detail' is not a valid view function or pattern name.
See models.py screenshot (code) to understand the error.
I don't know what I should put in place of article_details (see the code for explanation). Your help will appreciable.
Project Structure-
Code-
Dipesh_Pal Module Code-
settings.py-
INSTALLED_APPS = [
'django.contrib.sitemaps',
'django.contrib.sites',
]
SITE_ID = 1
home Module Code-
The error in line 37. I am not exactly sure what I should put in place of "article_detail" or I am not sure what exactly wrong in my code.
For your information, I am referring this YouTube video- Click Here
My Github Repo for this App- Click Here