Skip to main content

Parser for nested params in multipart file upload

Project description

# drf-nested-field-multipart
Parser for nested params in multipart file upload


# Usage
```python
from drf_nested_field_multipart import NestedMultipartParser
from rest_framework import viewsets

class YourViewSet(viewsets.ViewSet):
parser_classes = (NestedMultipartParser,)
```
To enable JSON and multipart

```python
from drf_nested_field_multipart import NestedMultipartParser
from rest_framework.parsers import JSONParser
from rest_framework import viewsets

class YourViewSet(viewsets.ViewSet):
parser_classes = (JSONParser, NestedMultipartParser)
```

# Installation
`pip install drf-nested-field-multipart`

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 drf-nested-field-multipart, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size drf_nested_field_multipart-0.0.3-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size drf-nested-field-multipart-0.0.3.tar.gz (1.7 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