mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
[3.2.x] Made minor edits to QuerySet.update_or_create() docs.
Backport of 85d47a58bf7dceced6a3e29a0715827b7a9d7d29 from main
This commit is contained in:
parent
5fa70c91b4
commit
55daaa0c79
@ -2155,7 +2155,7 @@ The above example can be rewritten using ``update_or_create()`` like so::
|
|||||||
defaults={'first_name': 'Bob'},
|
defaults={'first_name': 'Bob'},
|
||||||
)
|
)
|
||||||
|
|
||||||
For detailed description how names passed in ``kwargs`` are resolved see
|
For a detailed description of how names passed in ``kwargs`` are resolved, see
|
||||||
:meth:`get_or_create`.
|
:meth:`get_or_create`.
|
||||||
|
|
||||||
As described above in :meth:`get_or_create`, this method is prone to a
|
As described above in :meth:`get_or_create`, this method is prone to a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user