Fetch JSON Array von MySQL Django
#djanfo #myswl #json
fetch json array from django mysql
--------------------------------
def home(request):
result = <model name>.objects.values()
return HttpResponse(json.dumps(list(result)))
ASHABB