File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ you can use the name of the model, rather than the model object itself::
687687 # ...
688688
689689Note, 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
691691application, or to reference a model that has been imported from elsewhere.
692692
693693Behind the scenes, Django appends ``"_id"`` to the field name to create its
@@ -811,7 +811,7 @@ here's how you'd represent that::
811811As with ``ForeignKey``, a relationship to self can be defined by using the
812812string ``'self'`` instead of the model name, and you can refer to as-yet
813813undefined 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
815815cannot use a string to reference a model in a different application, or to
816816reference a model that has been imported from elsewhere.
817817
You can’t perform that action at this time.
0 commit comments