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.2 (2012-01-26)
Correct version number.
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.2-py2.6.egg
.
File metadata
- Download URL: Products.PatchPloneContent-1.0.2-py2.6.egg
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d4e4d11dcdb40cdf0cbc9c5603d82309e66baa7fcfe3b8e0e3f8576f92df14 |
|
MD5 | 69d87e00f17b2a999e03d5e7dc028489 |
|
BLAKE2b-256 | 889af871eae28a38387c7594c21a4160b8cedadd1429f5851937bb61ecb7891a |