Created
November 5, 2009 04:33
-
-
Save joshthecoder/226741 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pystache/view.py b/pystache/view.py | |
index 2e5ee41..0a4ac9d 100644 | |
--- a/pystache/view.py | |
+++ b/pystache/view.py | |
@@ -34,7 +34,7 @@ class View(object): | |
return template | |
def template_name(self): | |
- return self.__class__.__name__ | |
+ return self.__class__.__name__.lower() | |
def get(self, attr, default): | |
if attr in self.context: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment