[Django]-How to return html or json from ViewSets depending on client django rest framework

2👍

I think you will have to manually create a separate endpoint to handle HTML requests, but you can easily achieve this using Template Renderers

Leave a comment