mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
[1.7.x] Corrected headings in migration docs.
Backport of e01fa71142 from master
This commit is contained in:
parent
c86b9d1985
commit
b159b55997
@ -102,7 +102,7 @@ subclass).
|
|||||||
AlterOrderWithRespectTo
|
AlterOrderWithRespectTo
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
.. class:: AlterIndexTogether(name, order_with_respect_to)
|
.. class:: AlterOrderWithRespectTo(name, order_with_respect_to)
|
||||||
|
|
||||||
Makes or deletes the ``_order`` column needed for the
|
Makes or deletes the ``_order`` column needed for the
|
||||||
:attr:`~django.db.models.Options.order_with_respect_to` option on the ``Meta``
|
:attr:`~django.db.models.Options.order_with_respect_to` option on the ``Meta``
|
||||||
@ -111,11 +111,12 @@ subclass.
|
|||||||
AlterModelOptions
|
AlterModelOptions
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
.. class:: AlterIndexTogether(name, options)
|
.. class:: AlterModelOptions(name, options)
|
||||||
|
|
||||||
Stores changes to miscellaneous model options (settings on a model's ``Meta``)
|
Stores changes to miscellaneous model options (settings on a model's ``Meta``)
|
||||||
like ``permissions`` and ``verbose_name``. Does not affect the database, but
|
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
|
AddField
|
||||||
--------
|
--------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user