Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested image upload not working #137

Open
larrykamau opened this issue Mar 25, 2021 · 2 comments
Open

Nested image upload not working #137

larrykamau opened this issue Mar 25, 2021 · 2 comments

Comments

@larrykamau
Copy link

When I upload images and files using the WritableModelSerializer my images do not get saved but all other data is saved.
Is there a solution or any simple snippet that might help with many to many relation

@felps-dev
Copy link

In my projects i combine the drf-writable-nested with drf-extra-fields Base64ImageField wichs recieve an Base64 string instead of Form-Data Image.

@ir4y
Copy link
Member

ir4y commented Sep 23, 2021

@larrykamau please have a look on https://github.com/beda-software/drf-writable-nested#validation-problem-for-nested-serializers-with-unique-fields-on-update

It may help.

Could you please reply to this task if it helps you or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants