Skip to content

Commit 445f692

Browse files
Small formatting change to docs/model-api.txt change from [3597] -- double hyphens instead of a single hyphen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 7fe6fd7 commit 445f692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/model-api.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ you can use the name of the model, rather than the model object itself::
687687
# ...
688688

689689
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
691691
application, or to reference a model that has been imported from elsewhere.
692692

693693
Behind the scenes, Django appends ``"_id"`` to the field name to create its
@@ -811,7 +811,7 @@ here's how you'd represent that::
811811
As with ``ForeignKey``, a relationship to self can be defined by using the
812812
string ``'self'`` instead of the model name, and you can refer to as-yet
813813
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
815815
cannot use a string to reference a model in a different application, or to
816816
reference a model that has been imported from elsewhere.
817817

0 commit comments

Comments
 (0)