I'm wanting to convert an API from flask to Django Rest Framework. Currently, the requirements are that the responses are put inside of a basic json structure.
eg.
{
"status": "success",
"data": {actual results here}
}
What's the best way to do this?