We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I have a field ObjPathSourceBinder:
from plone.formwidget.contenttree import ObjPathSourceBinder ... class ICarrossel(Interface): product = RelationChoice( title=_(u'Product'), source=ObjPathSourceBinder(object_provides=IProduct.__identifier__), required=False, )
When I create a Carrossel object that has never had the produtct field populated:
Carrossel
produtct
>>>print getattr(carrossel, 'product') None
When I fill the product field, I then delete the product:
>>>print getattr(carrossel, 'product') <z3c.relationfield.relation.RelationValue object at 0xb1289bac>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I have a field ObjPathSourceBinder:
When I create a
Carrossel
object that has never had theprodutct
field populated:When I fill the product field, I then delete the product:
The text was updated successfully, but these errors were encountered: