We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
need change:
class AjaxResponseMixin(object): def dispatch(self, request, *args, **kwargs): request_method = request.method.lower()
if request.is_ajax and request_method in self.http_method_names:
here modify: if request.headers.get('x-requested-with') == 'XMLHttpRequest' and request_method in self.http_method_names:
its work now
The text was updated successfully, but these errors were encountered:
This seems to be done but probably not release yet.
Sorry, something went wrong.
A release would be very welcome for this one
that's also not working
JSONRequestMixin to replace AJAX mixin
c13f2f2
references #288
No branches or pull requests
need change:
class AjaxResponseMixin(object):
def dispatch(self, request, *args, **kwargs):
request_method = request.method.lower()
here modify:
if request.headers.get('x-requested-with') == 'XMLHttpRequest' and request_method in self.http_method_names:
its work now
The text was updated successfully, but these errors were encountered: