django 中的 recaptcha 刷新按钮

发布于 2024-09-08 16:51:51 字数 830 浏览 2 评论 0原文

我按照 本教程 使用 recaptcha django 形式。它工作正常,只是小刷新按钮不适用于验证码图像。不知道发生了什么事。

生成的recaptcha代码

<script>var RecaptchaOptions = {theme : 'white'};</script><script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6Lc6YLoSAAAAAAFKV5Y13hyLIl4y845XIUIQY-EN"></script> 

<noscript> 
  <iframe src="http://api.recaptcha.net/noscript?k=6Lc6YLoSAAAAAAFKV5Y13hyLIl4y845XIUIQY-EN" height="300" width="500" frameborder="0"></iframe><br /> 
  <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> 
  <input type='hidden' name='recaptcha_response_field' value='manual_challenge' /> 
</noscript> 

谢谢

I am using recaptcha django form following this tutorial . It works fine only the little refresh button not working on the recaptcha image. Not sure what is going on.

the generated code of recaptcha

<script>var RecaptchaOptions = {theme : 'white'};</script><script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6Lc6YLoSAAAAAAFKV5Y13hyLIl4y845XIUIQY-EN"></script> 

<noscript> 
  <iframe src="http://api.recaptcha.net/noscript?k=6Lc6YLoSAAAAAAFKV5Y13hyLIl4y845XIUIQY-EN" height="300" width="500" frameborder="0"></iframe><br /> 
  <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> 
  <input type='hidden' name='recaptcha_response_field' value='manual_challenge' /> 
</noscript> 

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

缱倦旧时光 2024-09-15 16:51:51

没关系...这是我的CSS造成的问题。如果我删除我的CSS,它就可以正常工作。

Never mind... It is my css causing the problem. If i remove my css it is working cool.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文