mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-13 03:20:37 -04:00
📝 Update docs highlighting after re-sort imports
coming back to flit, after pipenv
This commit is contained in:
@@ -13,7 +13,7 @@ This is especially the case for user models, because:
|
||||
|
||||
Here's a general idea of how the models could look like with their password fields and the places where they are used:
|
||||
|
||||
```Python hl_lines="9 11 16 22 24 33 35 40 41"
|
||||
```Python hl_lines="8 10 15 21 23 32 34 39 40"
|
||||
{!./tutorial/src/extra_models/tutorial001.py!}
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ All the data conversion, validation, documentation, etc. will still work as norm
|
||||
|
||||
That way, we can declare just the differences between the models (with plaintext `password`, with `hashed_password` and without password):
|
||||
|
||||
```Python hl_lines="9 15 16 19 20 23 24"
|
||||
```Python hl_lines="8 14 15 18 19 22 23"
|
||||
{!./tutorial/src/extra_models/tutorial002.py!}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user