Wednesday, August 25, 2021

FILE UPLOAD IN Nested Serializer

I have a plain text field in Parent Table and should upload a file in child table and has a foreign key relation in both table. I cannot upload a file in nested serializer. I didn't get a file data in serializer create function. it take a data of parent serializer and delete the data of Nested Serializer. Can somebody help me to upload a file with nested serializer. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9c0490f5-3532-4acb-ba0e-9918669d49c4n%40googlegroups.com.

No comments:

Post a Comment