Have you configured the templates settings in your settings.py file. Such that Django knows where to locate all your templates from. +256774339676
"If you want to live a happy life, tie it to a goal, not to people or things." A graduate of Bachelors Degree of Science in Computer Science of Gulu University. @FortunateAlinda Passionate about Python Development And Computer related Dynamics On Tue, Nov 12, 2024, 08:09 Abdul Qoyyuum Haji Abdul Kadir < [email protected]> wrote: > The errors are pretty clear here: > > *Template-loader postmortem* > Django tried loading these templates, in this order: > Using engine django: > > - django.template.loaders.filesystem.Loader: > /storage/emulated/0/pro/templates/land/lands.htmI (Source does not exist) > - django.template.loaders.app_directories.Loader: > /data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.11 > /site-packages/django/contrib/admin/templates/land/lands.html (Source does > not exist) > - django.template.loaders.app_directories.Loader: > /data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.11 > /site-packages/django/contrib/auth/templates/land/lands.html (Source does > not exist) > > But you claim that directory > /storage/emulated/0/pro/templates/land/lands.html exists but we don't see > it. > > Also, you have not mentioned on what you have already tried so far. So I > can only guess an answer. > > What is the permission settings of lands.html? If you run > > ls -la /storage/emulated/0/pro/templates/land/lands.html > > What does it show? If it indeed exists, can you check the file > permissions/ownership of that file? > > On Tue, 12 Nov 2024 at 01:21, Heman Okumbo <[email protected]> wrote: > >> Hello everyone, how comes the template lands.html is not working? while >> the template -loader postmortem shows that it has searched the >> directory/storage/emulated/0/pro/templates/land/lands.html where the >> template is?.the template is lands.html. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/django-users/CAJt9CbjJNwnRFEix%2BGVmu-HSAppYwxgK2rwRzi14p9u-94PU%3DA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAJt9CbjJNwnRFEix%2BGVmu-HSAppYwxgK2rwRzi14p9u-94PU%3DA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Abdul Qoyyuum Bin Haji Abdul Kadir > Nickname: Q > More about me: https://buymeacoffee.com/qoyyuum > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/django-users/CANVqoJ8O5ssa3inYmYKak4qkk%3DvNYEYp2LD-PUNeuYAb32KU3w%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CANVqoJ8O5ssa3inYmYKak4qkk%3DvNYEYp2LD-PUNeuYAb32KU3w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPifpCt7wFw6VWhuwk83Lmrh6K_rK7b0PO6iZXdg4Aa6ooOv4A%40mail.gmail.com.

