Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jquery dajaxice #73

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

SoftwareMaven
Copy link

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.

Travis Jensen added 6 commits November 25, 2012 14:52
Add a DAJAXICE_JS_LIBRARY option that determines which underlying
library to use for making the AJAX call. After the AJAX call is
made, the deferred is returned so clients can make additional
.success(), .error() or .complete() calls against it.
@duduklein
Copy link

Any plans to accept this?

@moreloci
Copy link

moreloci commented Oct 6, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants