mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Made minor edits to QuerySet.update_or_create() docs.
This commit is contained in:
parent
1024b5e74a
commit
85d47a58bf
@ -2143,7 +2143,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…
Reference in New Issue
Block a user