diff options
| author | Meysam <meysamazad81@yahoo.com> | 2019-06-24 11:34:33 +0430 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-06-24 09:04:33 +0200 |
| commit | 833878411c35e1d47abfb77c23863a9dc9bb6d27 (patch) | |
| tree | dfc48a7d992669ebdcc25f6e158651d451c9b611 /docs | |
| parent | 2f91e7832fd2e51dfb75f6027b673a943e736ef0 (diff) | |
Fixed typo in docs/topics/db/models.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/models.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 4aeb318f7b..f47490877f 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -514,7 +514,7 @@ the intermediate model:: <QuerySet [<Person: Ringo Starr>, <Person: Paul McCartney>]> You can also use ``add()``, ``create()``, or ``set()`` to create relationships, -as long as your specify ``through_defaults`` for any required fields:: +as long as you specify ``through_defaults`` for any required fields:: >>> beatles.members.add(john, through_defaults={'date_joined': date(1960, 8, 1)}) >>> beatles.members.create(name="George Harrison", through_defaults={'date_joined': date(1960, 8, 1)}) |
