I have a file structure as follows. There are a lot more files around
these but they're unimportant and work fine.

/mort11org/templates/most_pages <- main dir with templates wanted
     /programming/ <- a directory with more html files
     /programming.html <- an html file

I wrote this code in order to make having a large amount of html files
easy to handle in webpy.

http://pastie.org/private/4arzd3ksfgoqdpkollupq

It works great until I try to access programming.html, then it spits
out an "AttributeError: Render instance has no __call__ method"
error.

When I try to delete the programming/ directory it works perfectly
fine, leading me to believe webpy is confusing the directory with the
template I'm trying to call. I can even call pages within the
programming directory fine with this method.

Any ideas how to fix this? I've thought of creating a preface to all
directories, making the programming directory dir_programming/ but
that seems messy.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
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/webpy?hl=en.

Reply via email to