Skip to content

Commit

Permalink
doc: fix typo (#540)
Browse files Browse the repository at this point in the history
Fix typo in the section: Populate the database with initial test data.
  • Loading branch information
volans- authored and blueyed committed Nov 18, 2017
1 parent 3249fd0 commit 4145f73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/database.rst
Expand Up @@ -346,10 +346,9 @@ transactions. This example uses Django's fixture loading mechanism, but it can
be replaced with any way of loading data into the database.

Notice that :fixture:`django_db_setup` is in the argument list. This may look
odd at first, but it will make sure that the sure that the original
pytest-django fixture is used to create the test database. When
``call_command`` is invoked, the test database is already prepared and
configured.
odd at first, but it will make sure that the original pytest-django fixture
is used to create the test database. When ``call_command`` is invoked, the
test database is already prepared and configured.

Put this in ``conftest.py``::

Expand Down

0 comments on commit 4145f73

Please sign in to comment.