h***@gmail.com
2018-07-17 05:09:18 UTC
I want to conduct bulk update for Model.
I know "PUT" action can be called by specific data. So we must set a new
action for the one.
This is my source code of bulk update.
https://github.com/encode/django-rest-framework/issues/6087
But, it couldn't work.
Because "validated_data" was empty even though I couldn't use the parameter
of read-only.
I think my source code is incorrect especially creating serializer for
ListSerializer.
Please let me know and give me your advice if you have a nice idea.
Thanks.
I know "PUT" action can be called by specific data. So we must set a new
action for the one.
This is my source code of bulk update.
https://github.com/encode/django-rest-framework/issues/6087
But, it couldn't work.
Because "validated_data" was empty even though I couldn't use the parameter
of read-only.
I think my source code is incorrect especially creating serializer for
ListSerializer.
Please let me know and give me your advice if you have a nice idea.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.