Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created Aug 25, 2020
Embed
What would you like to do?
class BookListCreateAPIView(generics.ListCreateAPIView):
serializer_class = BookSerializer
queryset = Book.objects.all()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment