Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
surenkov committed Mar 30, 2024
1 parent 55d0ac7 commit 6e9dcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Bar(pydantic.BaseModel):
slug: str = "foo_bar"
```

**Pydantic v2 specific**: this behaviour is achieved by the fact that the exact type resolution will be postponed the until initial access to the field. Usually this happens on the first instantiation of the model.
**Pydantic v2 specific**: this behaviour is achieved by the fact that the exact type resolution will be postponed until the initial access to the field. Usually this happens on the first instantiation of the model.

To reduce the number of runtime errors related to the postponed resolution, the field itself performs a few checks against the passed schema during `./manage.py check` command invocation, and consequently, in `runserver` and `makemigrations` commands.

Expand Down

0 comments on commit 6e9dcc3

Please sign in to comment.