]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
📝 Fix small typos in the documentation (#1641)
authorSofie Van Landeghem <svlandeg@users.noreply.github.com>
Mon, 23 Feb 2026 15:46:11 +0000 (16:46 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Feb 2026 15:46:11 +0000 (16:46 +0100)
* fix typo

* fix typo

* add missing word

* remove duplication

* add :

* Update docs/tutorial/limit-and-offset.md

---------

Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
docs/tutorial/code-structure.md
docs/tutorial/connect/read-connected-data.md
docs/tutorial/create-db-and-table.md
docs/tutorial/limit-and-offset.md
docs/tutorial/one.md

index 08a4165429ed7d1c0cc2a94bed7bb1fd4f36de8b..2c0cba526e27cd1d0ef8d6cae99c3a2be1f2ed35 100644 (file)
@@ -139,7 +139,7 @@ Hero's team: name='Z-Force' headquarters='Sister Margaret's Bar' id=1
 
 ## Make Circular Imports Work
 
-Let's say that for some reason you hate the idea of having all the database models together in a single file, and you really want to have **separate files** a `hero_model.py` file and a `team_model.py` file.
+Let's say that for some reason you hate the idea of having all the database models together in a single file, and you really want to have **separate files**: a `hero_model.py` file and a `team_model.py` file.
 
 You can also do it. 😎 There's a couple of things to keep in mind. 🤓
 
index 3fd4607c920e4db8fcfe3365c42e47b1600820db..2868c69dd548151aa0df15822382ec8d003ecff0 100644 (file)
@@ -129,7 +129,7 @@ And as we used `select` with two models, we will receive tuples of instances of
 
 {* ./docs_src/tutorial/connect/select/tutorial001_py310.py ln[61:66] hl[65] *}
 
-For each iteration in the `for` loop we get a tuple with an instance of the class `Hero` and an instance of the class `Team`.
+For each iteration in the `for` loop we get a tuple with an instance of the class `Hero` and an instance of the class `Team`.
 
 And in this `for` loop we assign them to the variable `hero` and the variable `team`.
 
index 0faa3e5bfdc066058db9ec6476d4b48e4a5a6cd1..bbd5532bae9fe346e5ba7f93421c25607b40b202 100644 (file)
@@ -321,7 +321,7 @@ But you will learn about migrations later in the Advanced User Guide.
 
 Let's run the program to see it all working.
 
-Put the code it in a file `app.py` if you haven't already.
+Put the code in a file `app.py` if you haven't already.
 
 {* ./docs_src/tutorial/create_db_and_table/tutorial001_py310.py *}
 
index 215f57d1cd6eecba2082674805acec0bd44d5407..90bb167f2671fb01c5bcccbf2878a07c2e5fcb08 100644 (file)
@@ -10,7 +10,7 @@ Now let's see how to get only a **range of results**.
 
 ## Create Data
 
-We will continue with the same code as before, but we'll modify it a little the `select_heroes()` function to simplify the example and focus on what we want to achieve here.
+We will continue with the same code as before, but we'll modify the `select_heroes()` function to simplify the example and focus on what we want to achieve here.
 
 Again, we will create several heroes to have some data to select from:
 
index 54cdbbea9309f466e3df9d5756686c4df2e569ae..63e6a9e448efd9c3ca66992ce9d8ac93cce65507 100644 (file)
@@ -106,7 +106,7 @@ In that case, instead of `.first()` we can use `.one()`:
 
 Here we know that there's only one `"Deadpond"`, and there shouldn't be any more than one.
 
-If we run it once will output:
+If we run it once, it will output:
 
 <div class="termy">