summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/models.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
index b328a34803..af20f55d8c 100644
--- a/docs/topics/db/models.txt
+++ b/docs/topics/db/models.txt
@@ -40,9 +40,8 @@ This example model defines a ``Person``, which has a ``first_name`` and
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
-``first_name`` and ``last_name`` are :ref:`fields` of the model. Each
-field is specified as a class attribute, and each attribute maps to a database
-column.
+``first_name`` and ``last_name`` are fields_ of the model. Each field is
+specified as a class attribute, and each attribute maps to a database column.
The above ``Person`` model would create a database table like this: