Skip to content

Commit 991868a

Browse files
authored
Merge pull request #5711 from mbaragiola/master
Update writable nested serializers status
2 parents 5fc35eb + be0a57b commit 991868a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api-guide/serializers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Here's an example for an `.update()` method on our previous `UserSerializer` cla
352352

353353
Because the behavior of nested creates and updates can be ambiguous, and may require complex dependencies between related models, REST framework 3 requires you to always write these methods explicitly. The default `ModelSerializer` `.create()` and `.update()` methods do not include support for writable nested representations.
354354

355-
It is possible that a third party package, providing automatic support some kinds of automatic writable nested representations may be released alongside the 3.1 release.
355+
There are however, third-party packages available such as [DRF Writable Nested][thirdparty-writable-nested] that support automatic writable nested representations.
356356

357357
#### Handling saving related instances in model manager classes
358358

@@ -1173,6 +1173,7 @@ The [drf-writable-nested][drf-writable-nested] package provides writable nested
11731173
[relations]: relations.md
11741174
[model-managers]: https://docs.djangoproject.com/en/stable/topics/db/managers/
11751175
[encapsulation-blogpost]: http://www.dabapps.com/blog/django-models-and-encapsulation/
1176+
[thirdparty-writable-nested]: serializers.md#drf-writable-nested
11761177
[django-rest-marshmallow]: http://tomchristie.github.io/django-rest-marshmallow/
11771178
[marshmallow]: https://marshmallow.readthedocs.io/en/latest/
11781179
[serpy]: https://github.com/clarkduvall/serpy

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy