summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-26 13:56:08 -0500
committerTim Graham <timograham@gmail.com>2015-01-18 15:58:06 -0500
commit7e8cf74dc74539f40f4cea53c1e8bba82791fcb6 (patch)
treeed5ab7926f7856804b062b89326e62b8ee15ff94 /docs/ref/models
parent9704b0a82e1f1c6ed0118f948a56652594f0a43b (diff)
Removed support for syncing apps without migrations per deprecation timeline.
Kept support for creating models without migrations when running tests (especially for Django's test suite).
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/fields.txt15
1 files changed, 1 insertions, 14 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 39d728bbce..3fd9d0aace 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -183,8 +183,7 @@ scenes.
.. attribute:: Field.db_index
-If ``True``, :djadmin:`django-admin sqlindexes <sqlindexes>` will output a
-``CREATE INDEX`` statement for this field.
+If ``True``, a database index will be created for this field.
``db_tablespace``
-----------------
@@ -1120,12 +1119,6 @@ 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
~~~~~~~~~~~~~~~~~~~~~~~
@@ -1335,12 +1328,6 @@ 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
~~~~~~~~~~~~~~~~~~~~~~~