From c0c663bd97e4c7fe1d9971fc8070791a148f106f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 14 Jul 2008 08:54:26 +0000 Subject: And, just to maximally confuse Paul, come full circle, and don't require that the template be spelled on the class, while still allowing us to pickle the registry actions. --- repoze/bfg/sampleapp/views.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'repoze/bfg/sampleapp/views.py') diff --git a/repoze/bfg/sampleapp/views.py b/repoze/bfg/sampleapp/views.py index 98b285b67..196fce703 100644 --- a/repoze/bfg/sampleapp/views.py +++ b/repoze/bfg/sampleapp/views.py @@ -12,8 +12,6 @@ def datestring(dt): class BlogDefaultView(TemplateView): - template = 'templates/blog.pt' - def getInfo(self): entrydata = [] for name, entry in self.context.items(): @@ -29,8 +27,6 @@ class BlogDefaultView(TemplateView): class BlogEntryDefaultView(TemplateView): - template = 'templates/blog_entry.pt' - def getInfo(self): return { 'name':self.context.__name__, -- cgit v1.2.3