Skip to content

Common response wrappers #910

Answered by Goldziher
acwazz asked this question in Q&A
Dec 6, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi,

No there is no such a feature. You can use the after_request hook to transform responses into this form, and you can also define a custom exception_handler, so you can basically do this.

Replies: 1 comment 1 reply

Comment options

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

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