def db_data(request):
grid_data = list(table_name.objects.all().values())
return JsonResponse(grid_data, safe=False)
I am hitting above endpoint which gives list of dictionaries as response. Is there a way where I can convert this back to Queryset object at the receiver side so that I can perform ORM operations on this queryset object.