python输入的原型字段
Products.PythonField的Python项目详细描述
pythonfield自述文件
An Archetype field that stores Python scripts.
Usage
Install as usual in your Products directory.
Add this line to your custom Archetype to import the field:
from Products.PythonField import PythonFieldIn your schema, add PythonField like this:
BaseSchema + Schema(( ... PythonField('myField'), ... ))更多信息
Visit http://plone.org/products/scriptablefields for documenttion, bug-reports, etc.学分
Thanks to Sidnei da Silva for the TALESField product, which served as the base for this.版权所有
Copyright (C) 2005-2007 BlueDynamics Alliance, Klein & Partner KEG, Innsbruck, Austria
安装
pythonfield可以作为一个鸡蛋或传统的zope来安装。 产品。
通过构建
只需将products.pythonfield添加到构建的“eggs”列表中 或ZOPE2安装部件:
- 鸡蛋=
- … 产品.Python场 …
通过简易设置
只需为您正在使用的python使用easy_setup的副本 去管理佐佩。
传统Zope产品安装
复制或象征性地链接products.pythonfield/products/pythonfield 成为zope实例的products目录中的products/pythonfield。