MCPcopy
hub / github.com/encode/django-rest-framework / update

Method update

rest_framework/serializers.py:171–172  ·  view source on GitHub ↗
(self, instance, validated_data)

Source from the content-addressed store, hash-verified

169 raise NotImplementedError('`to_representation()` must be implemented.')
170
171 def update(self, instance, validated_data):
172 raise NotImplementedError('`update()` must be implemented.')
173
174 def create(self, validated_data):
175 raise NotImplementedError('`create()` must be implemented.')

Callers 9

saveMethod · 0.95
many_initMethod · 0.45
set_valueMethod · 0.45
run_validatorsMethod · 0.45
get_fieldsMethod · 0.45
include_extra_kwargsMethod · 0.45

Calls

no outgoing calls