Skip to main content

Django Response Relative

Project description

Django Response Relative

Installation

pip install django-response

Usage

from django_response import response

def xxx(request):
    # return response()
    # return response(XXXStatusCode.YYY)
    return response(200, 'message', u'description', data={})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-response, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_response-1.1.1-py2.py3-none-any.whl (3.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-response-1.1.1.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page