Updated migration docs to match changes from a159b1fac
This commit is contained in:
parent
12bf42ae0d
commit
2c0f64b5f6
|
@ -384,7 +384,7 @@ historical models.
|
||||||
Some things to note:
|
Some things to note:
|
||||||
|
|
||||||
* You don't need to learn too much about ``ProjectState`` to just write simple
|
* You don't need to learn too much about ``ProjectState`` to just write simple
|
||||||
migrations; just know that it has a ``.render()`` method that turns it into
|
migrations; just know that it has an ``apps`` property that gives access to
|
||||||
an app registry (which you can then call ``get_model`` on).
|
an app registry (which you can then call ``get_model`` on).
|
||||||
|
|
||||||
* ``database_forwards`` and ``database_backwards`` both get two states passed
|
* ``database_forwards`` and ``database_backwards`` both get two states passed
|
||||||
|
|
Loading…
Reference in New Issue