Skip to content
Discussion options

You must be logged in to vote

I think the main distinction is that GenericAPIView assumes to work with a model / queryset while the base APIView is not. I've used APIView to implement more custom stuff which don't map directly to a model: a proxy endpoint calling an 3rd party service with a secret key behind user auth.

I think having them separate gives the option to the user to opt to the more bare option when they need to.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@deronnax
Comment options

Answer selected by deronnax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants