Répondez le tableau JSON de 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