Template does not exists error in python anywhere
I have deployed my django app in python anywhere and getting below error :
TemplateDoesNotExist at /topic/
cms_app\content.html
I have two apps in my project. One is cms_app and other is users.
My templates location is Content_Mgmnt/cms_app/templates
/cms_app/content.html
For users and other cms_app templates are working fine however for /topic/ url this is not working and showing templates does not exists.
The same code is working fine in development environment however giving issues in production. How to solve this error?
I was getting this error for template does not exists which I resolved.
Error during template rendering
In template /home/trishna15/Django_Content_Mgmnt_App/cms_app/templates/cms_app/topic_list.html, error at line 1
cms_app\content.html
{% extends 'cms_app\content.html' %}
I checked the template where error occurred from the files tab in Python Anywhere and compared this with other templates which were working fine to find the issue. It was a typo error, so I have changed this code from {% extends 'cms_app\content.html' %} to {% extends 'cms_app/content.html' %}. And reloaded my code and it's now working.