Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to get response in json #15

Open
ivishalvarshney opened this issue Dec 14, 2021 · 1 comment
Open

Is it possible to get response in json #15

ivishalvarshney opened this issue Dec 14, 2021 · 1 comment

Comments

@ivishalvarshney
Copy link

ivishalvarshney commented Dec 14, 2021

Some consumers of API required JSON in response. So this module should support different type of output/responses ( especially in json )

@stefan6419846
Copy link

You should be able to set a different renderer for the output as well, or even multiple renderers (see https://www.django-rest-framework.org/api-guide/renderers/#ordering-of-renderer-classes). This is nothing which should be specific to this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants