django-braces
django-braces copied to clipboard
Django 4 ajax
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
This seems to be done but probably not release yet.
A release would be very welcome for this one
that's also not working