<reponame>ddvloayza/str3am-app<filename>tvempresa/src/apps/web/viewsets.py
from rest_framework import viewsets
from .models import Capitulos
from .serializer import CapitulosSerializer

class CapitulosViewSet(viewsets.ModelViewSet):
    queryset = Capitulos.objects.all()
    serializer_class = CapitulosSerializer
from rest_framework import viewsets
from .models import Capitulos
from .serializer import CapitulosSerializer

class CapitulosViewSet(viewsets.ModelViewSet):
    queryset = Capitulos.objects.all()
    serializer_class = CapitulosSerializer