diff options
author | Adrian Holovaty <adrian@holovaty.com> | 2006-08-17 00:37:49 +0000 |
---|---|---|
committer | Adrian Holovaty <adrian@holovaty.com> | 2006-08-17 00:37:49 +0000 |
commit | 445f6920960a6786fa6a2d34a9ec16526e51f817 (patch) | |
tree | 8a42e6725ae80bb9a3a57e9ff739aaf5e420f7ab | |
parent | 7fe6fd75ba12b1219e2f4846c7dd3972577bd4f5 (diff) | |
download | django-445f6920960a6786fa6a2d34a9ec16526e51f817.tar.gz |
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
-rw-r--r-- | docs/model-api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index 84337a0ae3..4cd832e9ea 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -687,7 +687,7 @@ you can use the name of the model, rather than the model object itself:: # ... 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 @@ here's how you'd represent that:: 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. |