[Checkins] SVN: z3c.form/trunk/src/z3c/form/testing.py Add
CollectionSequenceDataConverter.
Daniel Nouri
daniel.nouri at gmail.com
Sat Dec 29 19:47:50 EST 2007
Log message for revision 82558:
Add CollectionSequenceDataConverter.
I'm assuming here that ``z3c.form.testing.setupFormDefaults`` is a
function that's meant to be used for client code tests. I found it
silly and distracting to include parts of these registrations in my
own setup code.
Changed:
U z3c.form/trunk/src/z3c/form/testing.py
-=-
Modified: z3c.form/trunk/src/z3c/form/testing.py
===================================================================
--- z3c.form/trunk/src/z3c/form/testing.py 2007-12-30 00:04:49 UTC (rev 82557)
+++ z3c.form/trunk/src/z3c/form/testing.py 2007-12-30 00:47:49 UTC (rev 82558)
@@ -146,6 +146,7 @@
# Adapter to convert between field/internal and widget values
zope.component.provideAdapter(converter.FieldDataConverter)
zope.component.provideAdapter(converter.SequenceDataConverter)
+ zope.component.provideAdapter(converter.CollectionSequenceDataConverter)
zope.component.provideAdapter(converter.FieldWidgetDataConverter)
# Adapter for providing terms to radio list and other widgets
zope.component.provideAdapter(term.ChoiceTerms)
More information about the Checkins
mailing list