[Checkins] SVN: grokcore.formlib/trunk/src/grokcore/formlib/meta.py no need to pass the default value function anymore

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Nov 3 10:13:21 EDT 2010


Log message for revision 118164:
  no need to pass the default value function anymore

Changed:
  U   grokcore.formlib/trunk/src/grokcore/formlib/meta.py

-=-
Modified: grokcore.formlib/trunk/src/grokcore/formlib/meta.py
===================================================================
--- grokcore.formlib/trunk/src/grokcore/formlib/meta.py	2010-11-03 14:12:12 UTC (rev 118163)
+++ grokcore.formlib/trunk/src/grokcore/formlib/meta.py	2010-11-03 14:13:21 UTC (rev 118164)
@@ -17,13 +17,12 @@
 from martian.error import GrokError
 
 import grokcore.component
-from grokcore.component.meta import default_context
 from grokcore.formlib import formlib
 from grokcore.formlib import components
 
 class FormGrokker(martian.ClassGrokker):
     martian.component(components.GrokForm)
-    martian.directive(grokcore.component.context, get_default=default_context)
+    martian.directive(grokcore.component.context)
 
     def execute(self, factory, config, context, **kw):
         # Set up form_fields from context class if they haven't been



More information about the checkins mailing list