vistas iniciales en las tablas

This commit is contained in:
2023-02-16 13:11:32 +01:00
parent b07813a859
commit 9510c9bed2
10 changed files with 76 additions and 6 deletions

View File

@@ -1,3 +1,12 @@
from django.shortcuts import render
# from django.shortcuts import render
from rest_framework import generics, status
from rest_framework.response import Response
# Create your views here.
class HelloComparteView(generics.GenericAPIView):
def get(self, request):
return Response(data={"message": "Hello Comparte"},
status=status.HTTP_200_OK)