Skip to content

Commit 88b6ec3

Browse files
svlandegYuriiMotov
andauthored
📝 Fix small typos in the documentation (#1641)
* 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>
1 parent d9849dc commit 88b6ec3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/tutorial/code-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Hero's team: name='Z-Force' headquarters='Sister Margaret's Bar' id=1
139139

140140
## Make Circular Imports Work
141141

142-
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.
142+
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.
143143

144144
You can also do it. 😎 There's a couple of things to keep in mind. 🤓
145145

docs/tutorial/connect/read-connected-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ And as we used `select` with two models, we will receive tuples of instances of
129129

130130
{* ./docs_src/tutorial/connect/select/tutorial001_py310.py ln[61:66] hl[65] *}
131131

132-
For each iteration in the `for` loop we get a a tuple with an instance of the class `Hero` and an instance of the class `Team`.
132+
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`.
133133

134134
And in this `for` loop we assign them to the variable `hero` and the variable `team`.
135135

docs/tutorial/create-db-and-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ But you will learn about migrations later in the Advanced User Guide.
321321

322322
Let's run the program to see it all working.
323323

324-
Put the code it in a file `app.py` if you haven't already.
324+
Put the code in a file `app.py` if you haven't already.
325325

326326
{* ./docs_src/tutorial/create_db_and_table/tutorial001_py310.py *}
327327

docs/tutorial/limit-and-offset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Now let's see how to get only a **range of results**.
1010

1111
## Create Data
1212

13-
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.
13+
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.
1414

1515
Again, we will create several heroes to have some data to select from:
1616

docs/tutorial/one.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ In that case, instead of `.first()` we can use `.one()`:
106106

107107
Here we know that there's only one `"Deadpond"`, and there shouldn't be any more than one.
108108

109-
If we run it once will output:
109+
If we run it once, it will output:
110110

111111
<div class="termy">
112112

0 commit comments

Comments
 (0)