from rest_framework.viewsets import ModelViewSet
from .serializers import AnnonceSerializer
from .models import Annonce


class AnnonceViewSet(ModelViewSet):
    serializer_class = AnnonceSerializer
    queryset = Annonce.objects.all()

d73ed3c3c3716f790386bf989dda084b8f29e77c
<mask token>

<mask token>


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

<mask token>


class AnnonceViewSet(ModelViewSet):
    serializer_class = AnnonceSerializer
    queryset = Annonce.objects.all()

from rest_framework.viewsets import ModelViewSet
from .serializers import AnnonceSerializer
from .models import Annonce


class AnnonceViewSet(ModelViewSet):
    serializer_class = AnnonceSerializer
    queryset = Annonce.objects.all()
