  One-to-one relationships
  ------------------------
  
  One-to-one relationships are very similar to many-to-one relationships. If you
  define a ``OneToOneField`` on your model, instances of that model will have
  access to the related object via a simple attribute of the model.
  
  For example::
  
      class EntryDetail(models.Model):
          entry = models.OneToOneField(Entry)
 
</s> remove relationship also has access to a ``Manager`` object, but that ``Manager``
represents a single object, rather than a collection of objects::
 </s> add relationship also has access to a :class:`~django.db.models.Manager` object, but
that :class:`~django.db.models.Manager` represents a single object, rather than
a collection of objects:: </s> remove Now that you have set up your ``ManyToManyField`` to use your intermediary 
model (Membership, in this case), you're ready to start creating some
many-to-many relationships. You do this by creating instances of the
intermediate model::
 </s> add Now that you have set up your :class:`~django.db.models.ManyToManyField` to use
your intermediary model (Membership, in this case), you're ready to start
creating some many-to-many relationships. You do this by creating instances of
the intermediate model:: </s> remove       ``symmetrical=False`` (see the documentation for
      ``ManyToManyField`` above).
 </s> add       :attr:`symmetrical=False <ManyToManyFields.symmetrical>` (see 
      :ref:`the model field reference <manytomany-arguments>`). </s> remove reference <ref-foreignkey>` for details.`
 </s> add reference <ref-foreignkey>` for details. </s> remove ``first_name`` and ``last_name`` are :term:`fields <field>` of the model. Each
 </s> add ``first_name`` and ``last_name`` are :ref:`fields` of the model. Each
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.
  One-to-one relationships
  ------------------------
  
  One-to-one relationships are very similar to many-to-one relationships. If you
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.
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.
  
  For example::
  
      class EntryDetail(models.Model):
          entry = models.OneToOneField(Entry)
keep keep keep keep replace 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