From 4145f73e5465e839931e37570e38733d6973cc41 Mon Sep 17 00:00:00 2001 From: Riccardo Coccioli Date: Sat, 18 Nov 2017 18:05:01 +0100 Subject: [PATCH] doc: fix typo (#540) Fix typo in the section: Populate the database with initial test data. --- docs/database.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/database.rst b/docs/database.rst index c98ea3c43..58d9333c1 100644 --- a/docs/database.rst +++ b/docs/database.rst @@ -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``::