I have the following code snippet:-
from django.shortcuts import render from django.http import JsonResponse from django.views.decorators.csrf import csrf_exe