[Checkins] SVN: grok/trunk/doc/grok_overview.rst Correct this. We are editing the self.context.

Martijn Faassen faassen at startifact.com
Mon Oct 12 18:36:29 EDT 2009


Log message for revision 105028:
  Correct this. We are editing the self.context.
  

Changed:
  U   grok/trunk/doc/grok_overview.rst

-=-
Modified: grok/trunk/doc/grok_overview.rst
===================================================================
--- grok/trunk/doc/grok_overview.rst	2009-10-12 16:26:32 UTC (rev 105027)
+++ grok/trunk/doc/grok_overview.rst	2009-10-12 22:36:29 UTC (rev 105028)
@@ -1286,7 +1286,7 @@
 
      @grok.action(u"Edit species")
      def edit_species(self, **data):
-          self.applyData(species, **data)
+          self.applyData(self.context, **data)
 
 Forms are self-submitting, so this will show the edit form again. If
 you want to display another page, you can redirect the browser as we



More information about the checkins mailing list