跳转到主要内容

基于quintagroup.captcha.core包的表单库验证码字段

项目描述

简介

quintagroup.formlib.captcha 是一个允许向 zope.formlib 添加 captcha 的包。因此,此类表单可以防止自动提交。

表单库中的验证码

在表单库中使用quintagroup.formlib.captcha非常简单。只需将验证码字段添加到您的模式中,然后继续即可

>>> from zope.interface import Interface
>>> from quintagroup.formlib.captcha import Captcha
>>> class CaptchaSchema(Interface):
...     captcha = Captcha(
...         title=_(u'Type the code'),
...         description=_(u'Type the code from the picture shown below.'))

表单库将处理其余部分。与此字段关联的小部件将渲染验证码并自动验证用户输入。

支持的Plone版本

quintagroup.formlib.captcha 已与 Plone 3.x 和 Plone 4.0 进行了测试。

作者

  • Vitaliy Podoba

  • Andriy Mylenkyi

  • Vitaliy Stepanov

版权所有 (c) “Quintagroup”: http://quintagroup.com,2004-2014

变更日志

1.4.3 (2014-06-11)

  • 新版本解决了内联验证问题 [sorenabell]

1.4.3-dev (2013-08-16)

1.4.2 (2013-07-09)

1.4.1 (2011-11-02)

  • 更新了文档 [fenix]

1.4 (2011-08-25)

  • 小部件导入固定

  • pyflakes, pep8 清理

1.3 (2010-09-14)

  • 添加了对plone-4的支持 [mylan]

  • 修复了小部件中获取上下文的问题 [mylan]

  • 添加了doctests [mylan]

1.2 (2010-04-29)

  • 代码清理

  • 添加了测试

  • 将quintagroup.captcha.core和zope.formlib添加为依赖项

1.0 (2009-04-22)

  • 初始版本

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

quintagroup.formlib.captcha-1.4.3.zip (23.5 kB 查看散列值)

上传时间

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面