mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.11.x] Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt.
Backport of 00093daec9cc61d8af7fcebdbe58e263bea935a3 from master
This commit is contained in:
parent
8245255ae5
commit
84dac491d4
@ -99,7 +99,7 @@ are loaded from the database::
|
|||||||
values.pop() if f.attname in field_names else DEFERRED
|
values.pop() if f.attname in field_names else DEFERRED
|
||||||
for f in cls._meta.concrete_fields
|
for f in cls._meta.concrete_fields
|
||||||
]
|
]
|
||||||
new = cls(*values)
|
instance = cls(*values)
|
||||||
instance._state.adding = False
|
instance._state.adding = False
|
||||||
instance._state.db = db
|
instance._state.db = db
|
||||||
# customization to store the original field values on the instance
|
# customization to store the original field values on the instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user