Update Without Patch Mixin¶
UpdateModelWithoutPatchMixin
¶
Same as UpdateModelMixin but without patch method.
Disables PATCH methods. Frontend usually doesn't use it, we write
serializers expecting to have all data we need to do the thing.
But PATCH allows bypassing required restriction.
Source code in saritasa_drf_tools/views/mixins/update_without_patch_mixin.py
4 5 6 7 8 9 10 11 12 13 14 | |