Add instructions on how to do test app migrations

Previously answered [here](https://github.com/wagtail/wagtail/pull/4024#issuecomment-345267222) and [here](https://groups.google.com/forum/#!msg/wagtail-developers/P6x9N5qzq-I/0gbRzWgBBgAJ). Just adding this into these docs for future contributors.
This commit is contained in:
LB (Ben Johnston) 2017-11-19 15:41:19 +08:00 committed by Matt Westcott
parent 76e59aae2c
commit ebc423e91a

View file

@ -81,6 +81,13 @@ an argument to ``runtests.py``
$ python runtests.py wagtail.wagtailcore.tests.test_blocks.TestIntegerBlock
**Running migrations for the test app models**
You can create migrations for the test app by running the following from the Wagtail root.
.. code-block:: console
$ django-admin.py makemigrations --settings=wagtail.tests.settings
**Testing against PostgreSQL**