开发者

Javascript Validation in Django Admin

I'd like to use Javascript to validate forms in the Django admin interface. I was going to use this jQuery plugin, but I wanted to make sure that there wasn't some other Django conventional way to do it. I looked around a bi开发者_开发问答t and didn't see anything, but I wanted to be sure I wasn't missing something.


Here is the list of javascripts Django admin loads by default on change_form.html template:

core.js
admin/RelatedObjectLookups.js
js/jquery.min.js
js/jquery.init.js
js/actions.min.js

None of these seems to contain client side validation code. So, you can use it safely.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜