[Checkins]
SVN: grok/branches/luciano-fields-class-removal/src/grok/formlib.py
corrected comment
Luciano Ramalho
luciano at ramalho.org
Wed Sep 19 22:14:35 EDT 2007
Log message for revision 79756:
corrected comment
Changed:
U grok/branches/luciano-fields-class-removal/src/grok/formlib.py
-=-
Modified: grok/branches/luciano-fields-class-removal/src/grok/formlib.py
===================================================================
--- grok/branches/luciano-fields-class-removal/src/grok/formlib.py 2007-09-19 21:24:28 UTC (rev 79755)
+++ grok/branches/luciano-fields-class-removal/src/grok/formlib.py 2007-09-20 02:14:34 UTC (rev 79756)
@@ -33,9 +33,8 @@
# for an interface context, we generate them from that interface
if IInterface.providedBy(context):
return form.Fields(context)
- # if we have a non-interface context,
- # we're autogenerating them from any model-specific
- # fields along with any schemas defined by the context
+ # if we have a non-interface context, we're autogenerating them
+ # from any schemas defined by the context
fields = form.Fields(*most_specialized_interfaces(context))
# we pull in this field by default, but we don't want it in our form
fields = fields.omit('__name__')
More information about the Checkins
mailing list