mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[5.1.x] Fixed pronoun disagreement in docs/ref/models/querysets.txt.
Backport of ef6a83789b310a441237a190a493c9586a4cb260 from main.
This commit is contained in:
parent
67fc5805db
commit
8cb8820fbf
@ -2340,9 +2340,9 @@ whenever a request to a page has a side effect on your data. For more, see
|
|||||||
# Raises IntegrityError
|
# Raises IntegrityError
|
||||||
|
|
||||||
This is happening because it's trying to get or create "Chapter 1" through the
|
This is happening because it's trying to get or create "Chapter 1" through the
|
||||||
book "Ulysses", but it can't do any of them: the relation can't fetch that
|
book "Ulysses", but it can't do either: the relation can't fetch that chapter
|
||||||
chapter because it isn't related to that book, but it can't create it either
|
because it isn't related to that book, but it can't create it either because
|
||||||
because ``title`` field should be unique.
|
``title`` field should be unique.
|
||||||
|
|
||||||
``update_or_create()``
|
``update_or_create()``
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user