diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2014-06-15 14:55:44 -0700 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2014-06-15 14:57:00 -0700 |
| commit | e5cde2062c0fbe21476978cc318c84134bf7bc46 (patch) | |
| tree | 355081299a0943e98d1fd93081785e9df7dba749 /docs | |
| parent | 3ef87f664bb8b2a46546de755bfc4e158c90032f (diff) | |
[1.7.x] Fixed #22470: Full migration support for order_with_respect_to
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/migration-operations.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index 980b26cdbd..cdf1f6b458 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -99,6 +99,24 @@ Changes the model's set of custom indexes (the :attr:`~django.db.models.Options.index_together` option on the ``Meta`` subclass). +AlterOrderWithRespectTo +----------------------- + +.. class:: AlterIndexTogether(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`` +subclass. + +AlterModelOptions +----------------- + +.. class:: AlterIndexTogether(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. + AddField -------- |
