mirror of https://github.com/django/django.git
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:
parent
a169884505
commit
018057d8d1
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue