[2.2.x] Corrected section indentation in unit tests contributor docs.

Backport of b39c39e82a from master
This commit is contained in:
Carlton Gibson 2019-09-27 11:58:14 -07:00
parent 8c1b492e5f
commit 67bfedd2ae
1 changed files with 2 additions and 2 deletions

View File

@ -411,12 +411,12 @@ You can also use the ``DJANGO_TEST_PROCESSES`` environment variable for this
purpose.
Tips for writing tests
----------------------
======================
.. highlight:: python
Isolating model registration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------
To avoid polluting the global :attr:`~django.apps.apps` registry and prevent
unnecessary table creation, models defined in a test method should be bound to