mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-22 05:51:53 +00:00
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:
parent
76e59aae2c
commit
ebc423e91a
1 changed files with 7 additions and 0 deletions
|
|
@ -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**
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue