Closed ekoval closed 9 years ago
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
I think you need to merge in up-to-date master.
:sparkles: No lint errors found. :sparkles:
@zoidbergwill : merged.
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
Merge conflict
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
:sparkles: No lint errors found. :sparkles:
:+1: Comments are minor and style related. Well done!!!
:sparkles: No lint errors found. :sparkles:
:+1:
This is actually a new implementation. DRF changed so much that it's impossible to just "patch" existing implementation a bit.
How it is done:
The key idea of whole change is:
{<prop_name>: <prop_value>...}
, convert it to format acceptable by DRF serializers, then call DRF standard code. (to_internal_value
method and friends).{<prop_name>: <prop_value>...}
form (to_representation
and satellites)..save()
method is re-written from the scratch..update()
(probably we need to add.create()
as well), and manually saves properties after the parent object is saved.Tests are coming soon.
9