File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ A good way to use ``--reuse-db`` and ``--create-db`` can be:
121121* When you alter your database schema, run ``pytest --create-db ``, to force
122122 re-creation of the test database.
123123
124- ``--nomigrations `` - Disable Django migrations
125- ----------------------------------------------
124+ ``--no-migrations `` - Disable Django migrations
125+ -----------------------------------------------
126126
127- Using ``--nomigrations `` will disable Django migrations and create the database
127+ Using ``--no-migrations `` (alias: `` -- nomigrations ``) will disable Django migrations and create the database
128128by inspecting all models. It may be faster when there are several migrations to
129129run in the database setup. You can use ``--migrations `` to force running
130- migrations in case ``--nomigrations `` is used, e.g. in ``setup.cfg ``.
130+ migrations in case ``--no-migrations `` is used, e.g. in ``setup.cfg ``.
131131
132132.. _advanced-database-configuration :
133133
@@ -235,7 +235,7 @@ Returns whether or not to use migrations to create the test
235235databases.
236236
237237The default implementation returns the value of the
238- ``--migrations ``/``--nomigrations `` command line options.
238+ ``--migrations ``/``--no-migrations `` command line options.
239239
240240This fixture is by default requested from :fixture: `django_db_setup `.
241241
You can’t perform that action at this time.
0 commit comments