summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/instances.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 984f64d47e..c04f1a44b0 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -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):