# TemplateDoesNotExist

**URL:** <https://forum.codewithmosh.com/t/templatedoesnotexist/14741>\
**Category:** Django\
**Created:** [August 26, 2022, 2:35pm UTC](https://forum.codewithmosh.com/t/templatedoesnotexist/14741 "2022-08-26T14:35:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NAG](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@NAG](https://forum.codewithmosh.com/u/NAG)\
**Post date:** [August 26, 2022, 2:35pm UTC](https://forum.codewithmosh.com/t/templatedoesnotexist/14741/1 "2022-08-26T14:35:25Z")

</div>

i am at Django Fundamentals: 10-Using Templates. I followed everything that Mosh did, but for some reason, I am getting a TemplateDoesNotExist error.

Internal Server Error: /playground/hello/  
Traceback (most recent call last):  
File “/Users/sai/.local/share/virtualenvs/storefront-SiQ-GJjJ/lib/python3.9/site-packages/django/core/handlers/exception.py”, line 55, in inner  
response = get\_response(request)  
File “/Users/sai/.local/share/virtualenvs/storefront-SiQ-GJjJ/lib/python3.9/site-packages/django/core/handlers/base.py”, line 197, in \_get\_response  
response = wrapped\_callback(request, \*callback\_args, \*\*callback\_kwargs)  
File “/Users/sai/Desktop/storefront/storefront/playground/views.py”, line 6, in say\_hello  
return render(request,‘hello.html’)  
File “/Users/sai/.local/share/virtualenvs/storefront-SiQ-GJjJ/lib/python3.9/site-packages/django/shortcuts.py”, line 24, in render  
content = loader.render\_to\_string(template\_name, context, request, using=using)  
File “/Users/sai/.local/share/virtualenvs/storefront-SiQ-GJjJ/lib/python3.9/site-packages/django/template/loader.py”, line 61, in render\_to\_string  
template = get\_template(template\_name, using=using)  
File “/Users/sai/.local/share/virtualenvs/storefront-SiQ-GJjJ/lib/python3.9/site-packages/django/template/loader.py”, line 19, in get\_template  
raise TemplateDoesNotExist(template\_name, chain=chain)  
django.template.exceptions.TemplateDoesNotExist: hello.html  
[26/Aug/2022 14:20:26] “GET /playground/hello/ HTTP/1.1” 500 74063

[Screen Shot 2022-08-27 at 12.30.57 am|690x431](https://forum.codewithmosh.com/uploads/short-url/x14hx2YHQngaFSyRFp5wjfKyGxj.jpeg)

---

<div class="post-metadata">

**Author:** ![mocasio](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@mocasio](https://forum.codewithmosh.com/u/mocasio)\
**Post date:** [August 26, 2022, 7:17pm UTC](https://forum.codewithmosh.com/t/templatedoesnotexist/14741/2 "2022-08-26T19:17:34Z")

</div>

Is your template file saving as html or as Django? A good way to check is to look at the icon next to the file. If it doesn’t show the html brackets then its saving wrong. Go in setting-\> Files:Associations and add an item value pair as follows :  
Key: \*.html  
Value: html

Let me know if this helps!

---

<div class="post-metadata">

**Author:** ![NAG](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@NAG](https://forum.codewithmosh.com/u/NAG)\
**Post date:** [September 13, 2022, 12:20pm UTC](https://forum.codewithmosh.com/t/templatedoesnotexist/14741/3 "2022-09-13T12:20:57Z")

</div>

thanks bro i fixed it but now i got error near the sql client installation , can you help it ?
