Answers for "how to send json in django response"

1

how to send json in django response

from django.http import JsonResponse

def someviewfunction(request):
  ...
  return JsonResponse({'foo':'bar'})
Posted by: Guest on August-01-2021

Code answers related to "how to send json in django response"

Python Answers by Framework

Browse Popular Code Answers by Language