<reponame>naritotakizawa/docker-drf-and-nuxt-template<filename>backend/register/views.py
from rest_framework.decorators import api_view
from rest_framework.response import Response


@api_view(['GET'])
def hello(request):
    return Response({'message': 'hello'})

from rest_framework.decorators import api_view
from rest_framework.response import Response


@api_view(['GET'])
def hello(request):
    return Response({'message': 'hello'})