PrimaryKeyListSerializer
Overview
Validates a pks body field containing a non-empty list of primary keys.
Without model, each entry must be an integer. With model, each entry converts through that model's primary key field, as :class:ModelPrimaryKeyValueField describes. A model with an integer primary key keeps the integer check and its error message.
__init__
Signature
__init__(args, model, kwargs)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| args | no | |||
| model | no | None | ||
| kwargs | no |
Source
server/vueda/core/serializers/__init__.py:126
pks
Source
server/vueda/core/serializers/__init__.py:108