django-dajaxice
django-dajaxice copied to clipboard
Jquery dajaxice
While I appreciate not needing to have a particular library (such as jquery) installed, for those of us who do, it is nice to have access to things like jQuery.ajax's deferreds.
This patch keeps the original semantics of no-framework by default. However, if you set DAJAXICE_JS_LIBRARY to 'jquery', the underlying Dajaxice.call is replaced with a jQuery-optimized version that returns the jqxhr object.
Any plans to accept this?
After struggling with the problem that dajaxice 'does' some (at least by me) unforeseen magic on the jQuery .load function, which can get remedied by setting DAJAXICE_XMLHTTPREQUEST_JS_IMPORT to False in your settings.py file ... I would like to see this patch accepted since it doesn't break the "no-framework" rule but adds better handling for those who use jQuery. Please consider.