Various utilities to patch standard Plone content types
Project description
PatchPloneContent is a collection of utilities, used to add or alter how standard Plone content types work using the monkeypatch technique.
Variables of interest in this module are content_types, a tuple collection of the class definitions of standard content types.
The functions of interest are content_classes_add_fields, which accepts a sequence of content classes as the first argument, and a sequence of fields to add as the second argument. As well as add_validator, which inserts validators into fields.
Written by Morten W. Petersen, info@nidelven-it.no
1.0
Added function to add validators to existing content types.
1.0
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file Products.PatchPloneContent-1.0.1-py2.6.egg
.
File metadata
- Download URL: Products.PatchPloneContent-1.0.1-py2.6.egg
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0953debf4fef835a8a076eaffb08f4662d75ccf835feddde800de2533bb8893 |
|
MD5 | 2c369cdfbcf82f800b982d4e9a9890be |
|
BLAKE2b-256 | 4c94e6d58c2dade57c7b0882ddcfa6c9e4bd8050573ea42a378d56956e2cc807 |