Issue with sending JSON Array in multipart/form-data from POSTMAN
I’ve been struggling with writable serialises in DRF and I keep having this issue:
How to handle multiform /form data and nested serializer in django rest framework
I have a Tender model and a Product model. There is a foreign key relationship between Tender and product.
Now I want to update a tender instance where I provide tender and product data. The data format is multipart/form-data. But every time get the following error
How do I set custom error response upon serializer validation in a Django project?
I am working on a Django project. I have defined custom User model using AbstractBaseModel class. Below is my model representation for clarity.
Why dropdown field is disappeared in Django Rest Framework when using custom serializer for a field?
I am trying to use Django, DRF, ViewSet and Serializers to build a simple weblog.
I have a main app and inside it: