vistas iniciales en las tablas
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user