Skip to content

Commit

Permalink
Update docs/usage/dto/1-abstract-dto.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Alc-Alc <[email protected]>
  • Loading branch information
sobolevn and Alc-Alc authored Oct 16, 2024
1 parent c519f02 commit 14dc64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/dto/1-abstract-dto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 14dc64f

Please sign in to comment.