flask-sijax
flask-sijax copied to clipboard
obj_response not working
I'm trying to work with flask + sijax in a blueprint context, the request is sent to the target callback function 'on_click_test' however the 'obj_response' is not doing any thing, even I added the
Solved :
I had done: if g.sijax.is_sijax_request: g.sijax.register_object(SijaxHandler) return g.sijax.process_request()
in a separate function to organize my program and I have called it in the view function that causes an error of producing the response so I have moved that block of code back to the view function and it works just fine but I don't understand why it works now and it wasn't working ( returning a response ) !????!?
Can we see that other code, where you do the register_object
stuff?