[Checkins] SVN: Grokstar/trunk/src/grokstar/entry.py Fix after grok refactoring.

Philipp von Weitershausen philikon at philikon.de
Wed Feb 7 19:37:24 EST 2007


Log message for revision 72435:
  Fix after grok refactoring.
  

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

-=-
Modified: Grokstar/trunk/src/grokstar/entry.py
===================================================================
--- Grokstar/trunk/src/grokstar/entry.py	2007-02-08 00:33:41 UTC (rev 72434)
+++ Grokstar/trunk/src/grokstar/entry.py	2007-02-08 00:37:23 UTC (rev 72435)
@@ -30,6 +30,15 @@
 
 grok.context(RestructuredTextEntry)
 
+
+class Index(grok.View):
+    pass
+
+
+class Item(grok.View):
+    pass
+
+
 class Add(grok.AddForm):
     grok.context(Blog)
 
@@ -45,6 +54,7 @@
         IWorkflowInfo(new_entry).fireTransition('create')
         self.redirect(self.url(self.context))
 
+
 class Edit(grok.EditForm):
     form_fields = grok.AutoFields(RestructuredTextEntry).omit(
         'published', 'updated')
@@ -60,10 +70,12 @@
         IWorkflowInfo(self.context).fireTransitionToward(interfaces.PUBLISHED)
         self.redirect(self.url(self.context))
 
+
 class RenderedContent(grok.View):
     def render(self):
         return renderRest(self.context.content)
 
+
 rest_settings = {
     # Disable inclusion of external files, which is a security risk.
     'file_insertion_enabled': False,



More information about the Checkins mailing list