diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2014-06-15 11:46:56 -0700 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2014-06-15 11:47:23 -0700 |
| commit | 24afb1d7a746da131212d050404bbe8837cf6f1d (patch) | |
| tree | c8ac9c3945443364566aa6886da275194583908c /docs/ref | |
| parent | edd9f8a7b2beb0fe2f83a9e50157c45364753121 (diff) | |
Fixed #22660: Doc'd you can't have unmigrated apps depend on migrated
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/fields.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index afdc348685..5148c68c5d 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1062,6 +1062,12 @@ avoid the overhead of an index if you are creating a foreign key for consistency rather than joins, or if you will be creating an alternative index like a partial or multiple column index. +.. warning:: + + It is not recommended to have a ``ForeignKey`` from an app without migrations + to an app with migrations. See the :ref:`dependencies documentation + <unmigrated-dependencies>` for more details. + Database Representation ~~~~~~~~~~~~~~~~~~~~~~~ @@ -1261,6 +1267,12 @@ which the model is related, which works exactly the same as it does for Related objects can be added, removed, or created with the field's :class:`~django.db.models.fields.related.RelatedManager`. +.. warning:: + + It is not recommended to have a ``ManyToManyField`` from an app without migrations + to an app with migrations. See the :ref:`dependencies documentation + <unmigrated-dependencies>` for more details. + Database Representation ~~~~~~~~~~~~~~~~~~~~~~~ |
