diff options
| author | anabelensc <belensarabia@gmail.com> | 2016-01-09 10:33:48 +0000 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-01-09 12:17:21 -0500 |
| commit | 4c1fab0f293684162cfdb7b8818c571683c05f40 (patch) | |
| tree | a3e23fd657fbcc9e8d47ef23b8f5ffc9cce7b24a /docs | |
| parent | 8048411c97559afd4bca28fbeaabafc2df05bcae (diff) | |
Added a missing bracket in a queries docs example.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/queries.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index ba026c8c58..b61f16ffbe 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -1227,7 +1227,7 @@ To assign the members of a related set, use the ``set()`` method with an iterable of object instances or a list of primary key values. For example:: b = Blog.objects.get(id=1) - b.entry_set.set([e1, e2] + b.entry_set.set([e1, e2]) In this example, ``e1`` and ``e2`` can be full Entry instances, or integer primary key values. |
