|Version 3 (modified by erob@…, 9 years ago) (diff)|
Here's a simple recipe that worked for me. It is quite inspired by the AjaxDojoFormSub example, except that this one is expected to function with python-cjson for receiving JSON data.
My initial objective was to display validation errors without doing a page-refresh, by using JSON for carrying errors (or whatever else you could possibly imagine) back to the client browser.
def register(request): # write the view here pass
Then, we should definitely try to explain the client side: