Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Small formatting change to docs/model-api.txt change from [3597] -- d…

…ouble hyphens instead of a single hyphen

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 445f6920960a6786fa6a2d34a9ec16526e51f817 1 parent 7fe6fd7
Adrian Holovaty authored August 17, 2006

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

  1. 4  docs/model-api.txt
4  docs/model-api.txt
@@ -687,7 +687,7 @@ you can use the name of the model, rather than the model object itself::
687 687
         # ...
688 688
 
689 689
 Note, however, that you can only use strings to refer to models in the same 
690  
-models.py file - you cannot use a string to reference a model in a different 
  690
+models.py file -- you cannot use a string to reference a model in a different 
691 691
 application, or to reference a model that has been imported from elsewhere.
692 692
 
693 693
 Behind the scenes, Django appends ``"_id"`` to the field name to create its
@@ -811,7 +811,7 @@ here's how you'd represent that::
811 811
 As with ``ForeignKey``, a relationship to self can be defined by using the
812 812
 string ``'self'`` instead of the model name, and you can refer to as-yet
813 813
 undefined models by using a string containing the model name. However, you 
814  
-can only use strings to refer to models in the same models.py file - you 
  814
+can only use strings to refer to models in the same models.py file -- you 
815 815
 cannot use a string to reference a model in a different application, or to 
816 816
 reference a model that has been imported from elsewhere.
817 817
 

0 notes on commit 445f692

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