AJAX form submission in Django – Jquery ajax
I keep receiving 'Not Ajax' as a response during my form submission. I have to be missing something small but I cannot see it... class VideoLikeView(View): def post(self, request): if request.is_ajax(): message = 'Ajax' else: message = 'Not Ajax' return…