Updated migration docs to match changes from a159b1fac

This commit is contained in:
Claude Paroz 2015-01-07 18:35:25 +01:00
parent 12bf42ae0d
commit 2c0f64b5f6
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ historical models.
Some things to note:
* 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).
* ``database_forwards`` and ``database_backwards`` both get two states passed