Skip to content

UniqueTogetherWithPkValidator

Overview

A validator like UniqueTogetherValidator, but returns the pk of the conflicting object in the ValidationError.

call {#call}

Call self as a function.

Signature {#call-signature}

__call__(self, attrs, serializer)

Parameters {#call-parameters}

NameTypeRequiredDescription
selfyes
attrsyes
serializeryes

Source {#call-source}

server/vueda/core/validators.py:16

Source

server/vueda/core/validators.py:10

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2