Answers for "api view wrapper django"

0

api view wrapper django

from rest_framework.decorators import api_view

@api_view()
def hello_world(request):
    return Response({"message": "Hello, world!"})
Posted by: Guest on August-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language