DRF ne reçoit pas de formulaire
#Add Generic View as below
class ModelListView(generics.ListCreateAPIView):
"""
List all snippets, or create a new snippet.
"""
queryset = ModelName.objects.all()
serializer_class = ModelNameSerializer
Jittery Jay