diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-09-27 11:58:14 -0700 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-10-09 15:50:47 +0200 |
| commit | 67bfedd2ae822272d6679c07ac70aa290f1faa89 (patch) | |
| tree | 4fecbb1702369aaad4e0af8c7ce0f7d610845fda /docs/internals/contributing/writing-code | |
| parent | 8c1b492e5fde8d1b8c08e5775eee12f5d671a553 (diff) | |
[2.2.x] Corrected section indentation in unit tests contributor docs.
Backport of b39c39e82ae12ca92686ee97a7be2958ee667e5c from master
Diffstat (limited to 'docs/internals/contributing/writing-code')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index b453b73c17..1c0af171f3 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -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 |
