Fixed a bad link in topics/db/models.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2008-08-25 19:29:10 +00:00
parent a169884505
commit 018057d8d1
1 changed files with 2 additions and 3 deletions

View File

@ -40,9 +40,8 @@ This example model defines a ``Person``, which has a ``first_name`` and
first_name = models.CharField(max_length=30) first_name = models.CharField(max_length=30)
last_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 ``first_name`` and ``last_name`` are fields_ of the model. Each field is
field is specified as a class attribute, and each attribute maps to a database specified as a class attribute, and each attribute maps to a database column.
column.
The above ``Person`` model would create a database table like this: The above ``Person`` model would create a database table like this: