mirror of https://github.com/django/django.git
Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt.
This commit is contained in:
parent
2c69824e5a
commit
00093daec9
|
@ -99,7 +99,7 @@ are loaded from the database::
|
|||
values.pop() if f.attname in field_names else DEFERRED
|
||||
for f in cls._meta.concrete_fields
|
||||
]
|
||||
new = cls(*values)
|
||||
instance = cls(*values)
|
||||
instance._state.adding = False
|
||||
instance._state.db = db
|
||||
# customization to store the original field values on the instance
|
||||
|
|
Loading…
Reference in New Issue