[Checkins] SVN: plone.z3cform/trunk/plone/z3cform/crud/crud.py Add this bit to the interface since it's public API as exercised in crud.txt

Daniel Nouri daniel.nouri at gmail.com
Fri Jul 25 03:59:42 EDT 2008


Log message for revision 88807:
  Add this bit to the interface since it's public API as exercised in crud.txt
  
  

Changed:
  U   plone.z3cform/trunk/plone/z3cform/crud/crud.py

-=-
Modified: plone.z3cform/trunk/plone/z3cform/crud/crud.py
===================================================================
--- plone.z3cform/trunk/plone/z3cform/crud/crud.py	2008-07-25 07:31:45 UTC (rev 88806)
+++ plone.z3cform/trunk/plone/z3cform/crud/crud.py	2008-07-25 07:59:41 UTC (rev 88807)
@@ -24,6 +24,10 @@
     add_schema = interface.Attribute(
         "Schema for use in the add form; defaults to ``update_schema``.")
 
+    editform_factory = interface.Attribute("Factory used for the edit form.")
+
+    addform_factory = interface.Attribute("Factory used for the add form.")
+
     def get_items():
         """Subclasses must a list of all items to edit.
 



More information about the Checkins mailing list