Re: Template not found error

2024-11-12 Thread ALINDA Fortunate
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

Re: Template not found error

2024-11-11 Thread Abdul Qoyyuum Haji Abdul Kadir
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_di

Re: Template not found error

2024-11-11 Thread Walter Randazzo
Did you add the app to the settings.py lists of apps? El lun, 11 nov 2024 a las 14:20, Heman Okumbo () escribió: > 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/template

Re: Template not found

2010-08-27 Thread Steve Holden
On 8/27/2010 11:46 AM, Bradley Hintze wrote: >> Figured it out. But still 'gr!' >> >> So whenever I change a file and save it the stupid computer >> automatically changes ownership back to me instead of keeping www >> as owner. Thus apache couldn't 'see' my ne settings. As admin being >> the

Re: Template not found

2010-08-27 Thread Bradley Hintze
LOL and grr, I wish I had posted my solution. I'm getting the same error, TemplateDoesNotExist. I look at my settings for my template directory, look in that directory and there is the template that it says does not exist! Very frustrating! I did move my directory but (thought) I changed all t

Re: Template not found

2010-08-27 Thread Bradley Hintze
Figured it out. But still 'gr!' So whenever I change a file and save it the stupid computer automatically changes ownership back to me instead of keeping www as owner. Thus apache couldn't 'see' my ne settings. As admin being the group with read/write permissions I thought that I could change

Re: Template not found

2010-08-27 Thread Steve Holden
On 8/27/2010 3:41 AM, Reinout van Rees wrote: > On 08/26/2010 09:11 PM, Bradley Hintze wrote: >> Got it! > > You're keeping us all in suspense :-) > > Next time, could you add a one-line summary of the eventual solution? > There will be people with similar problems that google your post in > 2012

Re: Template not found

2010-08-27 Thread Reinout van Rees
On 08/26/2010 09:11 PM, Bradley Hintze wrote: Got it! You're keeping us all in suspense :-) Next time, could you add a one-line summary of the eventual solution? There will be people with similar problems that google your post in 2012. They'll want more than a "got it" :-) Reinout -- Re

Re: Template not found

2010-08-26 Thread Bradley Hintze
Got it! On Thu, Aug 26, 2010 at 2:56 PM, Bradley Hintze wrote: > A found the template error, a typo. But now I have an impor error: > > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] mod_wsgi > (pid=1440): Exception occurred processing WSGI script > '/Users/bradleyhintze/djcode/MolPro

Re: Template not found

2010-08-26 Thread Piotr Kilczuk
> I do have it on the sys.path in django.wsgi, here it is: > > import os > import sys > sys.path.append('/Users/bradleyhintze/djcode') > sys.path.append('/Users/bradleyhintze/djcode/MolProbity_Compare_test') Seems like it is somehow not there - is settings.py inside /Users/bradleyhintze/djcode/Mol

Re: Template not found

2010-08-26 Thread Bradley Hintze
A found the template error, a typo. But now I have an impor error: [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] mod_wsgi (pid=1440): Exception occurred processing WSGI script '/Users/bradleyhintze/djcode/MolProbity_Compare_test/apache/django.wsgi'., referer: http://summit.research.du

Re: Template not found

2010-08-26 Thread Piotr Kilczuk
Hi, If you need to debug, set DEBUG to True, obviously... Second thing - what is your TEMPLATE_DIRS and TEMPLATE_LOADERS setting? Regards, Piotr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...

Re: Template not found

2010-08-26 Thread Bradley Hintze
I forgot to include the error_log message: [Thu Aug 26 17:41:27 2010] [error] [client 152.16.223.251] mod_wsgi (pid=938): Exception occurred processing WSGI script '/Users/bradleyhintze/djcode/MolProbity_Compare_test/apache/django.wsgi'. [Thu Aug 26 17:41:27 2010] [error] [client 152.16.223.251] T