Forums

TemplateDoesNotExist at

i cannot understand how to remove this error please help me out ......and i think problem is in basic_App here A is capittal but in my project it is showing small a ....in my project it is basic_app but why is it shwing basic_App

TemplateDoesNotExist at / basic_App/index.html Request Method: GET Request URL: http://bhvbhatia.pythonanywhere.com/ Django Version: 3.0.3 Exception Type: TemplateDoesNotExist Exception Value:
basic_App/index.html Exception Location: /home/bhvbhatia/.virtualenvs/myproj/lib/python3.8/site-packages/django/template/loader.py in get_template, line 19 Python Executable: /usr/local/bin/uwsgi Python Version: 3.8.0 Python Path:
['/var/www', '.', '', '/var/www', '/home/bhvbhatia/.virtualenvs/myproj/lib/python38.zip', '/home/bhvbhatia/.virtualenvs/myproj/lib/python3.8', '/home/bhvbhatia/.virtualenvs/myproj/lib/python3.8/lib-dynload', '/usr/lib/python3.8', '/home/bhvbhatia/.virtualenvs/myproj/lib/python3.8/site-packages', '/home/bhvbhatia/django-deployment-example/learninng_user'] Server time: Thu, 30 Apr 2020 07:11:07 +0000 Template-loader postmortem Django tried loading these templates, in this order:

Using engine django:

django.template.loaders.filesystem.Loader: /home/bhvbhatia/django-deployment-example/learninng_user/templates/basic_App/index.html (Source does not exist) django.template.loaders.app_directories.Loader: /home/bhvbhatia/.virtualenvs/myproj/lib/python3.8/site-packages/django/contrib/admin/templates/basic_App/index.html (Source does not exist) django.template.loaders.app_directories.Loader: /home/bhvbhatia/.virtualenvs/myproj/lib/python3.8/site-packages/django/contrib/auth/templates/basic_App/index.html (Source does not exist)

Why don't you double check if you have created any files or folders with the name basic_App as opposed to basic_app?

I submit my project but it can not execute. And show me this text : TemplateDoesNotExist at /index/ login_app/index.html Request Method: GET Request URL: http://omarfaruk721457.pythonanywhere.com/index/ Django Version: 2.2.4 Exception Type: TemplateDoesNotExist Exception Value:
login_app/index.html Exception Location: /home/omarfaruk721457/.virtualenvs/login-env/lib/python3.8/site-packages/django/template/loader.py in get_template, line 19 Python Executable: /usr/local/bin/uwsgi Python Version: 3.8.0 Python Path:
['/var/www', '.', '', '/var/www', '/home/omarfaruk721457/.virtualenvs/login-env/lib/python38.zip', '/home/omarfaruk721457/.virtualenvs/login-env/lib/python3.8', '/home/omarfaruk721457/.virtualenvs/login-env/lib/python3.8/lib-dynload', '/usr/lib/python3.8', '/home/omarfaruk721457/.virtualenvs/login-env/lib/python3.8/site-packages', '/home/omarfaruk721457/django-deployment/My_user_auth_Project/']

where is your template actually? (ie. what is the full path)