I can't make it to Barcelona, so I'm sending you all a video lightning talk showing off Ambidexterity, a TTW editor for Dexterity views, dynamic defaults, validators and vocabularies.
It's 4 minutes long. Enjoy!
Thanks @smcmahon, this is great! I like the "RestrictedPython+" approach so having re and datetime available is super useful. Is there a list of other modules that have been allowed?
Look at https://github.com/collective/collective.trustedimports for a shared approach to making more imports available in plone/RestrictedPython
Is there a story for exporting TTW definitons or moving them between sites?
I've added documentation sections on export/import and RestrictedPython. http://collectiveambidexterity.readthedocs.io/en/latest/
I would not use collective.trustedimports just to add libraries for validators, dynamic defaults and vocabularies. It's way too aggressive for such a limited purpose.
Code of Conduct –
Hosting courtesy of Rackspace