This is a stumper...
I have a very simple view that is a wrapper around the generic view
direct_to_template. The loader finds the template as indicated in the
output "(File exists)", but yet I still get a TemplateDoesNotExist
error. Any ideas?
Yes, it's using the dev server. I did check the permissions just in
case and they look fine (-rw-r--r--).
What is odd is I'm also using this template from a different view and
it loads fine. I'm trying to debug now but I'm about to run out of
time and thought I'd throw it out here if anyone else encountered
this.
Thanks,
-Rob
It does, operator precedence notwithstanding (for example, a lambda
expression returning a tuple that is being used as an argument to a
function may not interpret an unbracketed tuple, but as a second
function argument)
> What's interesting to me, is that the file path got converted
> correctly in the debug output but not in the template loader itself.
That's an edge case of string variable expansion:
print "Hello %s world" % foo
and:
print "Hello %s world" % (foo,)
give the same result. However, this flexibility isn't automatically
extended to any other usage of a single value tuple - the code needs
to explicitly allow tuples for input. The template loader doesn't.
Yours,
Russ Magee %-)