Skip to content

Commit 8f48ad3

Browse files
authored
Fix some spelling errors in the README (typeddjango#128)
1 parent d642afa commit 8f48ad3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class User(models.Model):
5757
two properties are created, `team` as expected, and `team_id`. Also, a related
5858
manager called `user_set` is created on `Team` for the reverse access.
5959

60-
In order to properly add typing to the foreing key itself and also for the created ids you can do
60+
In order to properly add typing to the foreign key itself and also for the created ids you can do
6161
something like this:
6262

6363
```python
@@ -66,7 +66,7 @@ from typing import TYPE_CHECKING
6666
from someapp.models import Team
6767
if TYPE_CHECKING:
6868
# In this example Role cannot be imported due to circular import issues,
69-
# but doing so inside TYPE_CHECKING will make sure that the typing bellow
69+
# but doing so inside TYPE_CHECKING will make sure that the typing below
7070
# knows what "Role" means
7171
from anotherapp.models import Role
7272

@@ -191,7 +191,7 @@ def activity(request: AuthedHttpRequest, team_id: str) -> HttpResponse:
191191
```
192192

193193
You can also get more strict with your `login_required` decorator so that the
194-
first argument of the fuction it is decorating is `AuthedHttpRequest`:
194+
first argument of the function it is decorating is `AuthedHttpRequest`:
195195

196196
```python
197197
from typing import Any, Union, TypeVar, cast

0 commit comments

Comments
 (0)