Skip to content

Commit

Permalink
Fixed #7325 -- Broken links for model documentation; thanks Justin Li…
Browse files Browse the repository at this point in the history
…lly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
timgraham committed Feb 2, 2011
1 parent 3cdd6d8 commit a9ebf9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/topics/db/models.txt
Expand Up @@ -24,7 +24,7 @@ The basics:
examples`_. (In the Django source distribution, these examples are in the examples`_. (In the Django source distribution, these examples are in the
``tests/modeltests`` directory.) ``tests/modeltests`` directory.)


.. _official repository of model examples: http://www.djangoproject.com/documentation/models/ .. _official repository of model examples: http://code.djangoproject.com/browser/django/trunk/tests/modeltests


Quick example Quick example
============= =============
Expand Down Expand Up @@ -320,7 +320,7 @@ whatever you want. For example::


See the `Many-to-one relationship model example`_ for a full example. 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/ .. _Many-to-one relationship model example: http://code.djangoproject.com/browser/django/trunk/tests/modeltests/many_to_one/models.py


:class:`~django.db.models.ForeignKey` fields also accept a number of extra :class:`~django.db.models.ForeignKey` fields also accept a number of extra
arguments which are explained in :ref:`the model field reference arguments which are explained in :ref:`the model field reference
Expand Down Expand Up @@ -375,7 +375,7 @@ form would let users select the toppings.


See the `Many-to-many relationship model example`_ for a full example. See the `Many-to-many relationship model example`_ for a full example.


.. _Many-to-many relationship model example: http://www.djangoproject.com/documentation/models/many_to_many/ .. _Many-to-many relationship model example: http://code.djangoproject.com/browser/django/trunk/tests/modeltests/many_to_many/models.py


:class:`~django.db.models.ManyToManyField` fields also accept a number of extra :class:`~django.db.models.ManyToManyField` fields also accept a number of extra
arguments which are explained in :ref:`the model field reference arguments which are explained in :ref:`the model field reference
Expand Down Expand Up @@ -549,7 +549,7 @@ can be made; see :ref:`the model field reference <ref-onetoone>` for details.


See the `One-to-one relationship model example`_ for a full example. See the `One-to-one relationship model example`_ for a full example.


.. _One-to-one relationship model example: http://www.djangoproject.com/documentation/models/one_to_one/ .. _One-to-one relationship model example: http://code.djangoproject.com/browser/django/trunk/tests/modeltests/one_to_one/models.py


:class:`~django.db.models.OneToOneField` fields also accept one optional argument :class:`~django.db.models.OneToOneField` fields also accept one optional argument
described in the :ref:`model field reference <ref-onetoone>`. described in the :ref:`model field reference <ref-onetoone>`.
Expand Down

0 comments on commit a9ebf9e

Please sign in to comment.