From 14dc64f62a77287e55d45fb85b290c744cf2a78e Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 16 Oct 2024 11:39:31 +0300 Subject: [PATCH] Update docs/usage/dto/1-abstract-dto.rst Co-authored-by: Alc-Alc <45509143+Alc-Alc@users.noreply.github.com> --- docs/usage/dto/1-abstract-dto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/dto/1-abstract-dto.rst b/docs/usage/dto/1-abstract-dto.rst index d445414bac..ffb6530d7d 100644 --- a/docs/usage/dto/1-abstract-dto.rst +++ b/docs/usage/dto/1-abstract-dto.rst @@ -193,7 +193,7 @@ handler. :emphasize-lines: 18-21,27 :linenos: -Notice that we our `User` model has a model-level ``default_factory=uuid4`` +Notice that our `User` model has a model-level ``default_factory=uuid4`` for ``id`` field. That's why we can decode the client data into this model. However, in some cases there's no clear way to provide a default this way.