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:
121
121
* When you alter your database schema, run ``pytest --create-db ``, to force
122
122
re-creation of the test database.
123
123
124
- ``--nomigrations `` - Disable Django migrations
125
- ----------------------------------------------
124
+ ``--no-migrations `` - Disable Django migrations
125
+ -----------------------------------------------
126
126
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
128
128
by inspecting all models. It may be faster when there are several migrations to
129
129
run 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 ``.
131
131
132
132
.. _advanced-database-configuration :
133
133
@@ -235,7 +235,7 @@ Returns whether or not to use migrations to create the test
235
235
databases.
236
236
237
237
The default implementation returns the value of the
238
- ``--migrations ``/``--nomigrations `` command line options.
238
+ ``--migrations ``/``--no-migrations `` command line options.
239
239
240
240
This fixture is by default requested from :fixture: `django_db_setup `.
241
241
You can’t perform that action at this time.
0 commit comments