Karen,

All sorted now.

Thanks!  Well (tail between legs), the problem was not the template that 
was being called, but a template being "included" inside that template. 
 That second template is loaded based on a few "if" statements, and a 
bug/flaw in my logic (undetected until now ... code in place for months), 
failed to load a valid template file.  Didn't get error messages (no access 
to "post mortem" page as I don't run the app on a web servrer) sufficient 
to point me to the real cause and I was chasing red herrings for a while.

Message for others:  when in similar circumstances, look for issues not 
only with the first-called template, but any templates "included".

Re "alpha" ... well, simple inertial.  The Django stuff I do is not on a 
web server but on my PC.  I use Django to construct static HTM files, and 
other things, from content held in the database. I simply copy the HTM 
files to the server on change.  Sort of taking the approach "it works, 
don't break it on purpose".  I'll do an upgrade to current version this 
week.  

On Wednesday, 25 July 2012 02:33:17 UTC+1, Karen Tracey wrote:
>
> On Tue, Jul 24, 2012 at 11:41 AM, rmschne  wrote:
>
>> I have made no changes to settings.py. Honest.  I'm running Django 1.4.0 
>> alpha.
>
>
> Why alpha rather than the released version? Not that I think it has 
> anything to do with the problem, it just seems odd to stick with an alpha 
> level after the official release is available.
>
>  
>
>> The variable TEMPLATE_DIRS is pointing to a folder which exists and the 
>> template 'directory.html' i wish to load in in that 
>> folder, /Users/rmschne/Documents/source/django/projects/socmgmt/templates/. 
>>  My ID has appropriate permissions (running on Mac OS/X). 
>>
>> All of the sudden today (and it worked  a few days ago), I get 
>> "TemplateDoesNotExist" error.  This happens for any of the templates I try 
>> to load.
>>
>> Frankly, I'm at a kinda loss as to where to start debugging this since 
>> everything looks ok and I don't recall making any changes that would be 
>> relevants.
>>
>>
> With DEBUG on the template loader post mortem on the debug page should 
> give some clues.  What does it say?
>
> Karen
> -- 
> http://tracey.org/kmt/
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/sY0WOaRGJzAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to