from rest_framework.viewsets import ModelViewSet
from eventos.models import Atracao
from .serializers import AtracaoSerializer

class AtracaoViewSet(ModelViewSet):
	queryset = Atracao.objects.all()
	serializer_class = AtracaoSerializer
	filter_fields = ('nome',)
493d1e75747e762ee7230ae996f448479cd5bd4f
<mask token>

<mask token>


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

<mask token>


class AtracaoViewSet(ModelViewSet):
    queryset = Atracao.objects.all()
    serializer_class = AtracaoSerializer
    filter_fields = 'nome',

from rest_framework.viewsets import ModelViewSet
from eventos.models import Atracao
from .serializers import AtracaoSerializer


class AtracaoViewSet(ModelViewSet):
    queryset = Atracao.objects.all()
    serializer_class = AtracaoSerializer
    filter_fields = 'nome',

from rest_framework.viewsets import ModelViewSet
from eventos.models import Atracao
from .serializers import AtracaoSerializer

class AtracaoViewSet(ModelViewSet):
	queryset = Atracao.objects.all()
	serializer_class = AtracaoSerializer
	filter_fields = ('nome',)