[1.8.x] Fixed typo in docs/ref/migration-operations.txt.
Backport of 931b946e29
from master
This commit is contained in:
parent
5a6a5ce0d5
commit
0c2532766b
|
@ -45,8 +45,8 @@ database to match it.
|
||||||
``name`` is the model name, as would be written in the ``models.py`` file.
|
``name`` is the model name, as would be written in the ``models.py`` file.
|
||||||
|
|
||||||
``fields`` is a list of 2-tuples of ``(field_name, field_instance)``.
|
``fields`` is a list of 2-tuples of ``(field_name, field_instance)``.
|
||||||
The field instance should be an unbound field (so just ``models.CharField()``,
|
The field instance should be an unbound field (so just
|
||||||
rather than a field takes from another model).
|
``models.CharField(...)``, rather than a field taken from another model).
|
||||||
|
|
||||||
``options`` is an optional dictionary of values from the model's ``Meta`` class.
|
``options`` is an optional dictionary of values from the model's ``Meta`` class.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue