      class Person(models.Model):
          first_name = models.CharField(max_length=30)
          last_name = models.CharField(max_length=30)
  
  ``first_name`` and ``last_name`` are :term:`fields <field>` 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:
  
 
</s> remove ``ManyToManyField`` using the ``through`` argument to point to the model
 </s> add :class:`~django.db.models.ManyToManyField` using the 
:attr:`through <ManyToManyFields.through>` argument to point to the model </s> remove define a ``OneToOneField`` on your model, instances of that model will have
access to the related object via a simple attribute of the model.
 </s> add define a :class:`~django.db.models.OneToOneField` on your model, instances of
that model will have access to the related object via a simple attribute of the
model. </s> remove relationships: Many-to-one, many-to-many and one-to-one.
 </s> add relationships: many-to-one, many-to-many and one-to-one. </s> remove of `methods automatically given to each model <model-instance-methods>`. You can
override most of these -- see `overriding predefined model methods`_, below --
but there are a couple that you'll almost always want to define:
 </s> add of :ref:`methods automatically given to each model <model-instance-methods>`.
You can override most of these -- see `overriding predefined model methods`_,
below -- but there are a couple that you'll almost always want to define: </s> remove object with a many-to-one relationship to itself) and :ref:`relationsips to
 </s> add object with a many-to-one relationship to itself) and :ref:`relationships to
``first_name`` and ``last_name`` are :ref:`fields` of the model. Each
      class Person(models.Model):
          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.
  
  The above ``Person`` model would create a database table like this:
  
keep keep keep keep replace keep keep keep keep keep
 Fixed a handful of typo/markup problems in the docs. Patch from Daniel Roseman.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8540 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/topics/db/models.txt