[Checkins] SVN: Grokstar/trunk/src/grokstar/blog.py Use the newly added template.

Uli Fouquet uli at gnufix.de
Sat Feb 20 12:02:33 EST 2010


Log message for revision 109191:
  Use the newly added template.
  

Changed:
  U   Grokstar/trunk/src/grokstar/blog.py

-=-
Modified: Grokstar/trunk/src/grokstar/blog.py
===================================================================
--- Grokstar/trunk/src/grokstar/blog.py	2010-02-20 17:02:12 UTC (rev 109190)
+++ Grokstar/trunk/src/grokstar/blog.py	2010-02-20 17:02:33 UTC (rev 109191)
@@ -166,8 +166,11 @@
     grok.context(Entries)
     grok.viewletmanager(Main)
 
-    def render(self):
-        return "Entries: %s" % ' '.join(self.context.keys())
+    @property
+    def entries(self):
+        """TODO: the returned values should be sorted.
+        """
+        return self.context.values()
 
 class RecentEntries(grok.Viewlet):
     grok.viewletmanager(Right)



More information about the checkins mailing list