django形成客户端验证? [英] django forms client side validation?

查看:176
本文介绍了django形成客户端验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个图书馆/应用程序,这将有助于轻松实现客户端验证在django?



我发现很多表单布局/显示库,如


  1. django-uni-表单

  2. django-crispy-forms

等,但没有一个客户端验证。可以任何一个指向一个好的框架。

解决方案

查看 django-helpers (我是图书馆的作者)。有一个表单渲染器应用程序将生成一个简单的花哨的引导模板中的表单,并且还使用jquery验证插件来为一些验证器实现客户端验证。它还在开发中。没有太多的文档,但检查的例子。它很容易理解。


Is there a library/app which will help to easily implement a client side validation in django ?

I found many form layout/display libraries like

  1. django-uni-form
  2. django-crispy-forms

etc but none of them have a client side validation. Can any one point to a good framework.

解决方案

Check out django-helpers (I am the author of the library). There is a form renderer app which will generate the form in a easily fancy bootstrap template and also implements client side validations for some validators using jquery validation plugin. Its still under development. There are no much docs but check the examples. Its easy to understand.

这篇关于django形成客户端验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆