mirror of
https://github.com/django/django.git
synced 2025-04-22 00:04:43 +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
|
||||
|
||||
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
|
||||
chapter because it isn't related to that book, but it can't create it either
|
||||
because ``title`` field should be unique.
|
||||
book "Ulysses", but it can't do either: the relation can't fetch that chapter
|
||||
because it isn't related to that book, but it can't create it either because
|
||||
``title`` field should be unique.
|
||||
|
||||
``update_or_create()``
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user