Skip to main content

A middleware that allows user to upload files using PUT / Patch

Project description

ninja_put_patch_file_upload_middleware

This middleware allows users to upload files using the HTTP PUT or PATCH method. Backports the functionality from django-ninja#719

Requirements

  • Django 3.2+
  • Asgiref 3.6.0+
  • Python 3.7+

Installation

  1. Install the package using pip :
pip install ninja_put_patch_file_upload_middleware
  1. Add the middleware to your middleware stack:
# settings.py

MIDDLEWARE = [
    ...
    "ninja_put_patch_file_upload_middleware.middlewares.process_put_patch",
]

LICENSE

This package is licensed under the MIT License. See the LICENSE file for more information.

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

Built Distribution

Supported by

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