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
- Install the package using pip :
pip install ninja_put_patch_file_upload_middleware
- 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
Release history Release notifications | RSS feed
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
Close
Hashes for ninja_put_patch_file_upload_middleware-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dec00cc4edd03d2be4f9658010c9f1019d70333621f02a3fe2ab998129d94ab |
|
MD5 | b681acf48d9ab960bb977a4aa118c559 |
|
BLAKE2b-256 | 686f6335c9d73c479771fdcbed343b1406d746249fd01971debb5289d608128c |
Close
Hashes for ninja_put_patch_file_upload_middleware-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a982c52e1c29d0fd376a3aa10819288cb007ecb54566e8e562a272e53f8b2a1f |
|
MD5 | a42e578041388cebbb28bf829488114f |
|
BLAKE2b-256 | 385132c640860ee5a25dfcac58c026011cc64615b82c6232557cacf50f614538 |