---
url: "https://vueda.dev/v3/reference/api/py/vueda.info.schema/ModelInfoFieldSerializer.md"
title: "ModelInfoFieldSerializer"
---

# ModelInfoFieldSerializer

## Overview

The BaseSerializer class provides a minimal class which may be used
for writing custom serializer implementations.

Note that we strongly restrict the ordering of operations/properties
that may be used on the serializer in order to enforce correct usage.

In particular, if a `data=` argument is passed then:

.is_valid() - Available.
.initial_data - Available.
.validated_data - Only available after calling `is_valid()`
.errors - Only available after calling `is_valid()`
.data - Only available after calling `is_valid()`

If a `data=` argument is not passed then:

.is_valid() - Not available.
.initial_data - Not available.
.validated_data - Not available.
.errors - Not available.
.data - Available.

## `app_label` {#app_label}

## `choices` {#choices}

## `decimal_places` {#decimal_places}

## `display_choices` {#display_choices}

## `help_text` {#help_text}

## `hidden` {#hidden}

## `label` {#label}

## `list_default` {#list_default}

## `many` {#many}

## `max_digits` {#max_digits}

## `max_length` {#max_length}

## `max_value` {#max_value}

## `min_length` {#min_length}

## `min_value` {#min_value}

## `model` {#model}

## `pk` {#pk}

## `read_only` {#read_only}

## `required` {#required}

## `type_db` {#type_db}

## `type_model` {#type_model}

## `type_serializer` {#type_serializer}

## Source

`server/vueda/info/schema.py:92`
