Skip to content

Commit

Permalink
Update database.rst (#900)
Browse files Browse the repository at this point in the history
made text changes in line 43 and 44. Added commas in both the lines for better readability, and changed `for` in line 43 to `to be` to reduce redundancy.
  • Loading branch information
Ishuin committed Jan 14, 2021
1 parent 5cc98c1 commit 59fdb49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ documentation <pytest:scoped-marking>` for detail::


By default ``pytest-django`` will set up the Django databases the
first time a test needs them. Once setup the database is cached for
used for all subsequent tests and rolls back transactions to isolate
first time a test needs them. Once setup, the database is cached to be
used for all subsequent tests and rolls back transactions, to isolate
tests from each other. This is the same way the standard Django
:class:`~django.test.TestCase` uses the database. However
``pytest-django`` also caters for transaction test cases and allows
Expand Down

0 comments on commit 59fdb49

Please sign in to comment.