from rest_framework.viewsets import ModelViewSet
from lista_categoria.models import ListaCategoria
from .serializers import ListaCategoriaSerializer


class ListaCategoriaViewSet(ModelViewSet):
    """
    A simple ViewSet for viewing and editing accounts.
    """
    queryset = ListaCategoria.objects.all()
    serializer_class = ListaCategoriaSerializer

23344115a970d8949df845dcba5d9deeaf195ed8
<mask token>


class ListaCategoriaViewSet(ModelViewSet):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class ListaCategoriaViewSet(ModelViewSet):
    <mask token>
    queryset = ListaCategoria.objects.all()
    serializer_class = ListaCategoriaSerializer

<mask token>


class ListaCategoriaViewSet(ModelViewSet):
    """
    A simple ViewSet for viewing and editing accounts.
    """
    queryset = ListaCategoria.objects.all()
    serializer_class = ListaCategoriaSerializer

from rest_framework.viewsets import ModelViewSet
from lista_categoria.models import ListaCategoria
from .serializers import ListaCategoriaSerializer


class ListaCategoriaViewSet(ModelViewSet):
    """
    A simple ViewSet for viewing and editing accounts.
    """
    queryset = ListaCategoria.objects.all()
    serializer_class = ListaCategoriaSerializer
