django-restresp

Pseudo-standard responders for django DRF


Keywords
django, django-rest-framework, helpers, python
License
MIT
Install
pip install django-restresp==0.1.9

Documentation

REST-RESP

Example resp:

{
    "msg": "ok",
    "pagination": {
      "next": "",
      "prev": ""
    },
    "errors": [],
    "payload": [
        {
            "id": 10,
            "full_name": "John Doe",
            "profile": {
                "screen_name": "John Doe",
            }
        }
    ]
}