Kaydet (Commit) 00093dae authored tarafından Lachlan Musicman's avatar Lachlan Musicman Kaydeden (comit) Tim Graham

Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt.

üst 2c69824e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment