summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorDaniel Roseman <daniel@roseman.org.uk>2014-07-23 22:31:31 +0100
committerTim Graham <timograham@gmail.com>2014-07-24 09:39:40 -0400
commitb159b55997989b42dd9b82af578ca7ab01a2192d (patch)
tree10636a0c857b9985c80cadddfe49ed3a0d804a8c /docs/ref
parentc86b9d198598b735ba203a56b449cd80516abfef (diff)
[1.7.x] Corrected headings in migration docs.
Backport of e01fa71142 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/migration-operations.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt
index cdf1f6b458..99b4a61c86 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
@@ -102,7 +102,7 @@ subclass).
AlterOrderWithRespectTo
-----------------------
-.. class:: AlterIndexTogether(name, order_with_respect_to)
+.. class:: AlterOrderWithRespectTo(name, order_with_respect_to)
Makes or deletes the ``_order`` column needed for the
:attr:`~django.db.models.Options.order_with_respect_to` option on the ``Meta``
@@ -111,11 +111,12 @@ subclass.
AlterModelOptions
-----------------
-.. class:: AlterIndexTogether(name, options)
+.. class:: AlterModelOptions(name, options)
Stores changes to miscellaneous model options (settings on a model's ``Meta``)
like ``permissions`` and ``verbose_name``. Does not affect the database, but
-persists these changes for :class:`RunPython` instances to use.
+persists these changes for :class:`RunPython` instances to use. ``options``
+should be a dictionary mapping option names to values.
AddField
--------