Skip to main content

A simple Django app to standardize responses for DRF projects.

Project description

https://img.shields.io/pypi/v/drf-standardized-responses.svg https://img.shields.io/travis/user/repo.svg Documentation Status

drf-standardized-responses

A simple Django app to standardize responses for DRF projects.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “drf_standardized_responses” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'drf_standardized_responses',
    ]
  2. Include the drf_standardized_responses URLconf in your project urls.py like this:

    path('responses/', include('drf_standardized_responses.urls')),
  3. Run python manage.py migrate to create the drf_standardized_responses models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a response (you’ll need the Admin app enabled).

  5. Visit http://127.0.0.1:8000/responses/ to see your responses.

Copyright (c) 2025, All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

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

Source Distribution

drf_standardized_responses-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_standardized_responses-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file drf_standardized_responses-0.1.0.tar.gz.

File metadata

File hashes

Hashes for drf_standardized_responses-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1dac841cbddc7a6918a9c20b3b22f9132078804aefe4950d056dc691e3c7c70d
MD5 87c1dcfaa866e7eb77687c5e45f5a18f
BLAKE2b-256 4718c7eb6828e2dfdcf1a3d409c33b641409c8440dc3ffab830d957cfc3f4591

See more details on using hashes here.

File details

Details for the file drf_standardized_responses-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drf_standardized_responses-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09cf0f059253f72f7d73ce2b57488704ec9b97e66d0d84d16e8befa27250a29a
MD5 db93c540967c4d3a7e324513598b4004
BLAKE2b-256 4a1becf834791dcf81ac6b8daffe47d42ab056458cb233f6ed070c583d7b1fc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page