In DestroyAPIView throw a Error while serializer is None #8844
Answered
by
2ykwang
shahriar350
asked this question in
Question & Answer
-
DestroyModelMixin donot required serializer, then why DestroyAPIView throw a error
my views is:
why i need serializer while DestroyAPIView response only status. |
Beta Was this translation helpful? Give feedback.
Answered by
2ykwang
Jan 23, 2023
Replies: 1 comment 1 reply
-
@shahriar350 I was able to find the error in the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shahriar350
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@shahriar350
It doesn't seem to be a problem related to DRF.
I was able to find the error in the
drf-spectacular
libraryand the issue docs below may be helpful.
tfranzel/drf-spectacular#308