  .. seealso::
  
      See the `Many-to-one relationship model example`_ for a full example.
  
  .. _Many-to-one relationship model example: http://www.djangoproject.com/models/many_to_one/
  
  :class:`~django.db.models.ForeignKey` fields also accept a number of extra
  arguments which are explained in :ref:`the model field reference
  <foreign-key-arguments>`. These options help define how the relationship should
  work; all are optional.
 
</s> remove .. _Many-to-many relationship model example: http://www.djangoproject.com/models/many_to_many/
 </s> add .. _Many-to-many relationship model example: http://www.djangoproject.com/documentation/models/many_to_many/ </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 </s> remove and the groups of which they are a member, so you could use a ManyToManyField
to represent this relationship. However, there is a lot of detail about the
membership that you might want to collect, such as the date at which the person
joined the group.
 </s> add and the groups of which they are a member, so you could use a
:class:`~django.db.models.ManyToManyField` to represent this relationship.
However, there is a lot of detail about the membership that you might want to 
collect, such as the date at which the person joined the group. </s> remove reference <ref-foreignkey>` for details.`
 </s> add reference <ref-foreignkey>` for details. </s> remove <ref-manytomany>` for details.`
 </s> add <ref-manytomany>` for details.
.. _Many-to-one relationship model example: http://www.djangoproject.com/documentation/models/many_to_one/
  .. seealso::
  
      See the `Many-to-one relationship model example`_ for a full example.
  
.. _Many-to-one relationship model example: http://www.djangoproject.com/documentation/models/many_to_one/
  
  :class:`~django.db.models.ForeignKey` fields also accept a number of extra
  arguments which are explained in :ref:`the model field reference
  <foreign-key-arguments>`. These options help define how the relationship should
  work; all are optional.
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