1
0
mirror of https://github.com/django/django.git synced 2025-04-03 21:16:44 +00:00

Fixed pronoun disagreement in docs/ref/models/querysets.txt.

This commit is contained in:
Clifford Gama 2025-03-07 09:34:40 +02:00 committed by Sarah Boyce
parent 3235e76eb5
commit ef6a83789b

View File

@ -2337,9 +2337,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()``
~~~~~~~~~~~~~~~~~~~~~~