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.
精彩评论