Some binder instances for use with plone.supermodel schemas

See https://github.com/plone/plone.app.relationfield/pull/1 for when
they are useful. I'm guessing this is where they were supposed to be
moved, but it never happened.
This commit is contained in:
Jamie Lentin 2013-06-28 15:58:20 +01:00
parent f6d79e8b94
commit ce0522fe91
2 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,10 @@ Changelog
1.0.7 (unreleased)
------------------
* Add in some default binder instances, mostly for use with supermodel XML
schemas.
[lentinj]
* Switch to ``plone.app.testing``
[saily]

View File

@ -6,3 +6,8 @@ from plone.formwidget.contenttree.widget import MultiContentTreeFieldWidget
from plone.formwidget.contenttree.source import PathSourceBinder,\
ObjPathSourceBinder, UUIDSourceBinder
# Some binder instances for use with plone.supermodel schemas
path_src_binder = PathSourceBinder()
obj_path_src_binder = ObjPathSourceBinder()
uuid_src_binder = UUIDSourceBinder()