Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template loading case sensitive issue #2

Closed
joshthecoder opened this issue Nov 5, 2009 · 1 comment
Closed

Template loading case sensitive issue #2

joshthecoder opened this issue Nov 5, 2009 · 1 comment

Comments

@joshthecoder
Copy link
Contributor

I noticed this issue when I went to run the nose tests on linux. Pystache attempts to load the template using the View's class name, which is usually capitalized. This creates a problem on case sensitive OS's (like linux) and it will complain about not finding the template file (which in the tests case is called simple.mustache, not Simple.mustache).

Here's a small fix that lower cases the class name before attempting to load the template.

http://gist.github.com/226741

@defunkt
Copy link
Owner

defunkt commented Nov 6, 2009

Add failing (but almost passing) ComplexView test. Closed by d68ae32

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants