Skip to content

NoExtraFieldsSerializerMixin

Overview

Explode on extra fields, but it is not the default behavior of DRF.

This lets us clean up client code or tests with extraneous keys.

validate

Signature

validate(self, attrs)

Parameters

NameTypeRequiredDescription
selfyes
attrsyes

Source

server/vueda/core/serializers/__init__.py:72

dict {#dict}

dictionary for instance variables

weakref {#weakref}

list of weak references to the object

Source

server/vueda/core/serializers/__init__.py:65

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