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:
parent
f6d79e8b94
commit
ce0522fe91
|
@ -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]
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Reference in New Issue