Mahmudul Hasan
Mahmudul Hasan
### Sending patch request with Content-Type multipart/form-data can be achieved like below You can send the value for "**invoice_services**" field as **[{"id": 17,"description_of_service": "TV servicing","quantity": "1.00","unit": "h","price": "1000.00","discount_percent": "6.00","vat_percent": "0.00","invoice":...
> @xalien10 I don't understated your solution @uripeled2 I just used the string which actually contained string instead of json object in formdata in postman. After receiving the request I...
> Hi! > > Thank you for raising the issue. > Personally, I don't think that using multipart/form-data with PATCH request is a good idea. > When you are using...
@ir4y I've updated the` README.md` file and opened a PR. https://github.com/beda-software/drf-writable-nested/pull/148 May be you can check and put some comments on that
@uriyyo any updates about this question for underlying related fields data?
@uriyyo Instead of model `User`, can we use queryset? like this one - ```python @app.get("/users") async def route() -> Page[UserList]: return await paginate(await User.filter(name="John Snow"), prefetch_related=True) ```
@uriyyo do we need to explicitly write the reverse relation like `user_roles` in `User` model? as you can see here `model_validate` failing. And in the items, it can get the...
Actually, I tried to use this approach but it didn't help with my service layer with repository pattern. I'm extremely sorry that I couldn't report it earlier than now
Can you please share if it could be anything sooner or later? 😃
That will be awesome 😄