diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-09-27 11:58:14 -0700 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2019-10-09 15:46:44 +0200 |
| commit | b39c39e82ae12ca92686ee97a7be2958ee667e5c (patch) | |
| tree | 767111f3f438d48521660069bd048fed64d900dd /docs/internals/contributing/writing-code | |
| parent | 02c63b8f2ff48935c0fa2df5e0c8c1699d32b362 (diff) | |
Corrected section indentation in unit tests contributor docs.
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 7484ab138f..29a9fbc4d0 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -476,12 +476,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 |
