Archetypes field for Python input
An Archetype field that stores Python scripts.
Install as usual in your Products directory.
Add this line to your custom Archetype to import the field:from Products.PythonField import PythonField
In your schema, add PythonField like this:BaseSchema + Schema(( ... PythonField('myField'), ... ))
Further InformationVisit http://plone.org/products/scriptablefields for documenttion, bug-reports, etc.
CreditsThanks to Sidnei da Silva for the TALESField product, which served as the base for this.
CopyrightCopyright (C) 2005-2007 BlueDynamics Alliance, Klein & Partner KEG, Innsbruck, Austria
PythonField may be installed as either an egg or as a traditional Zope product.
Just add Products.PythonField to the “eggs” list for the buildout or zope2instance parts:
- eggs =
- … Products.PythonField …
Just use the copy of easy_setup for the Python that you’re using to run Zope.
Traditional Zope Product Installation
Copy or symbolically link the Products.PythonField/Products/PythonField to be Products/PythonField in your Zope instance’s Products directory.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Products.PythonField-1.1.3.zip (20.1 kB)||File type Source||Python version None||Upload date||Hashes View|