Additional schema fields for Zope 3
Project description
Zaehlwerk Fields
Color field
Email field
Color Field
The string contained in the field describes a RGB color in hexdecimal format. Let’s first generate a color field:
>>> from zw.schema.color import Color >>> color = Color()
Make sure the colors validate:
>>> color.validate('aa00cc')
>>> color.validate('00aa000')
Traceback (most recent call last):
...
InvalidColor: 00aa000
CHANGES
Version 0.2.2 (2008-04-14)
packaging bug fixed.
Version 0.2.1 (2008-04-13)
Remove email field. (It can be found in z3c.schema)
Version 0.2 (2008-04-11)
Added email field
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zw.schema-0.2.2.tar.gz
(17.3 kB
view details)
File details
Details for the file zw.schema-0.2.2.tar.gz.
File metadata
- Download URL: zw.schema-0.2.2.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abea7a72a329452b74b8bc53035115d7e4d433b40e04c67dbbae5536fff06a5d
|
|
| MD5 |
b3d09db02155337ce84c27f7dc9f8850
|
|
| BLAKE2b-256 |
d40c3d18f28ab0e09431963eb60a7d1cc5b2a4cbd74e78a213d0ef2369326056
|