Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed #7325 -- Broken links for model documentation; thanks J…

…ustin Lilly.

Backport of r15397 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 01fce67c1731aa21acae6925e355ff84d32fb41b 1 parent 0b8b9fb
Tim Graham authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  docs/topics/db/models.txt
8  docs/topics/db/models.txt
@@ -24,7 +24,7 @@ The basics:
24 24
     examples`_. (In the Django source distribution, these examples are in the
25 25
     ``tests/modeltests`` directory.)
26 26
 
27  
-    .. _official repository of model examples: http://www.djangoproject.com/documentation/models/
  27
+    .. _official repository of model examples: http://code.djangoproject.com/browser/django/trunk/tests/modeltests
28 28
 
29 29
 Quick example
30 30
 =============
@@ -320,7 +320,7 @@ whatever you want. For example::
320 320
 
321 321
     See the `Many-to-one relationship model example`_ for a full example.
322 322
 
323  
-.. _Many-to-one relationship model example: http://www.djangoproject.com/documentation/models/many_to_one/
  323
+.. _Many-to-one relationship model example: http://code.djangoproject.com/browser/django/trunk/tests/modeltests/many_to_one/models.py
324 324
 
325 325
 :class:`~django.db.models.ForeignKey` fields also accept a number of extra
326 326
 arguments which are explained in :ref:`the model field reference
@@ -375,7 +375,7 @@ form would let users select the toppings.
375 375
 
376 376
     See the `Many-to-many relationship model example`_ for a full example.
377 377
 
378  
-.. _Many-to-many relationship model example: http://www.djangoproject.com/documentation/models/many_to_many/
  378
+.. _Many-to-many relationship model example: http://code.djangoproject.com/browser/django/trunk/tests/modeltests/many_to_many/models.py
379 379
 
380 380
 :class:`~django.db.models.ManyToManyField` fields also accept a number of extra
381 381
 arguments which are explained in :ref:`the model field reference
@@ -549,7 +549,7 @@ can be made; see :ref:`the model field reference <ref-onetoone>` for details.
549 549
 
550 550
     See the `One-to-one relationship model example`_ for a full example.
551 551
 
552  
-.. _One-to-one relationship model example: http://www.djangoproject.com/documentation/models/one_to_one/
  552
+.. _One-to-one relationship model example: http://code.djangoproject.com/browser/django/trunk/tests/modeltests/one_to_one/models.py
553 553
 
554 554
 :class:`~django.db.models.OneToOneField` fields also accept one optional argument
555 555
 described in the :ref:`model field reference <ref-onetoone>`.

0 notes on commit 01fce67

Please sign in to comment.
Something went wrong with that request. Please try again.