[Answered ]-TemplateDoesNotExist on Heroku but works on local server

1👍

Are you sure that template is there? How did you upload your code to Heroku? Check if there is a hello.html on server. If you used Git, check if template is actually tracked by git.

Also, you can move your templates from that app to <project_name>/<app_name>/templates Templates will stay within their respective app. Django will find them automatically.

👤Mur4al

Leave a comment