Kaydet (Commit) 42f5c8f3 authored tarafından Tim Graham's avatar Tim Graham

Fixed typo in docs/ref/models/instances.txt

üst 1a3bec4a
......@@ -86,8 +86,8 @@ from the database.
In addition to creating the new model, the ``from_db()`` method must set the
``adding`` and ``db`` flags in the new instance's ``_state`` attribute.
Below is an example showing how torecord the initial values of fields that
are loaded from the database::
Below is an example showing how to record the initial values of fields that
are loaded from the database::
@classmethod
def from_db(cls, db, field_names, values):
......
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