[Grok-dev] megrok.form 0.1
Dirceu Pereira Tiegs
dirceutiegs at gmail.com
Thu Feb 21 21:55:21 EST 2008
Hello,
I've just released megrok.form on cheeseshop, hope it helps someone:
http://pypi.python.org/pypi/megrok.form/0.1
>From the README.txt:
megrok.form is a helper package that provides some useful fields,
widgets and constraints for Grok.
Fields
* Email, a TextLine field with a default contraint
* HTML, a Text field that uses z3c.widget.tiny
* File, from collective.namedfile
* Image, from collective.namedfile
Widgets
megrok.form overrides the default widgets for:
* zope.interface.schema.Date (using zc.datetimewidget.widget.DateWidget)
* zope.interface.schema.Datetime (using
zc.datetimewidget.widget.DatetimeWidget)
And add new widgets for Image and File (from collective.namedfile).
Validators / Constraints
megrok.form add constraints for:
* SSN
* US Phone Numbers
* International Phone Numbers
* Zip Code
* URL
* Email
The source code is at http://svn.zope.org/Sandbox/dirceu/megrok.form.
Should I move it do the root directory?
Regards,
--
Dirceu Pereira Tiegs
Weimar Consultoria
Hospedagem Plone, Zope e Python
http://www.pytown.com
More information about the Grok-dev
mailing list