Author: adrian
Date: 2006-08-16 19:37:49 -0500 (Wed, 16 Aug 2006)
New Revision: 3598
Modified:
django/trunk/docs/model-api.txt
Log:
Small formatting change to docs/model-api.txt change from [3597] -- double
hyphens instead of a single hyphen
Modified: django/trunk/docs/model-api.txt
===================================================================
--- django/trunk/docs/model-api.txt 2006-08-17 00:02:51 UTC (rev 3597)
+++ django/trunk/docs/model-api.txt 2006-08-17 00:37:49 UTC (rev 3598)
@@ -687,7 +687,7 @@
# ...
Note, however, that you can only use strings to refer to models in the same
-models.py file - you cannot use a string to reference a model in a different
+models.py file -- you cannot use a string to reference a model in a different
application, or to reference a model that has been imported from elsewhere.
Behind the scenes, Django appends ``"_id"`` to the field name to create its
@@ -811,7 +811,7 @@
As with ``ForeignKey``, a relationship to self can be defined by using the
string ``'self'`` instead of the model name, and you can refer to as-yet
undefined models by using a string containing the model name. However, you
-can only use strings to refer to models in the same models.py file - you
+can only use strings to refer to models in the same models.py file -- you
cannot use a string to reference a model in a different application, or to
reference a model that has been imported from elsewhere.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---