alex / alex/django-ajax-validation
Allow async ajax calls and form class to be specified as string (URL argument).
- Ngôn ngữ chính
- Python
- Star
- 251
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I've written a patch that adds a semi-colon to the start of the JS so it can be included with other jquery plugins which might omit the closing semi-colon, adds `async` param to the validate method so that events like keyup, blur and change can trigger validation in the background while input continues, adds `method` param to the validate method so ajax validation can be used with GET method forms and views, allows `form_class` to be specified as a string so you can pass it as a URL argument or hard coded path rather than having to import the form class into urls.py. I also cleaned up white space in a few places.
The patch is available at: http://paste.pocoo.org/show/153778/
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.