I have moved to a new laptop which is both my development and production
platform. The only change in infrastructure is that I run Python, Django,
and all else in a virtual environment (VirtualEnv).
I am not using Django to run on a web server.
I have a function which produces a set of HTML files. The first calls
t=get_template('soc_ad_host_and_guest_list.html')
txt=smart_str(t.render(Context({ ... more stuff })))
and the above works fine.
On the second call to a different template which a) does exist, and b) is
in the template folder defined by TEMPLATE_DIRS,
t=get_template('soc_ad_table_guest_list_for_prog.html')
txt=smart_str(t.render(Context({'host_list': hostlist,})))and at the
statement txt= I get the Django Error: TemplateDoesNotExist
Since I'm not on a web server I can't see the so-called "post mortem"
message. But the template files 'soc_ad_table_guest_list_for_prog.html'
does indeed exist, its permissions are 770 (same as the first template that
does work).
Suggestions? Any more debugging I can turn on?
--
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/-/DmbpfR4nokgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.