---
url: "https://vueda.dev/v3/reference/api/py/vueda.core.parsers/NestedMultipartMixin.md"
title: "NestedMultipartMixin"
---

# NestedMultipartMixin

## Overview

Accept object saves with JSON multipart fields and a file-path manifest.

Replace DRF's standard multipart parser while retaining other configured
parsers. Requests without a manifest keep DRF's existing form behavior.
Place this mixin before a DRF view or viewset in its inheritance list.

## `get_parsers` {#get_parsers}

Use the nested parser wherever the standard multipart parser is enabled.

### Signature {#get_parsers-signature}

`get_parsers(self)`

#### Parameters {#get_parsers-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |

### Source {#get_parsers-source}

`server/vueda/core/parsers.py:127`

## `initialize_request` {#initialize_request}

Keep decoded data separate from the flat uploads that Django must close.

### Signature {#initialize_request-signature}

`initialize_request(self, request, args, kwargs)`

#### Parameters {#initialize_request-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="initialize_request-param-request">request</span> |  | yes |  |  |
| <span id="initialize_request-param-args">args</span> |  | no |  |  |
| <span id="initialize_request-param-kwargs">kwargs</span> |  | no |  |  |

### Source {#initialize_request-source}

`server/vueda/core/parsers.py:133`

## Source

`server/vueda/core/parsers.py:119`
