Skip to content

Instantly share code, notes, and snippets.

@joshthecoder
Created November 5, 2009 04:33
Show Gist options
  • Save joshthecoder/226741 to your computer and use it in GitHub Desktop.
Save joshthecoder/226741 to your computer and use it in GitHub Desktop.
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