diff options
| author | django-bot <ops@djangoproject.com> | 2023-02-28 20:53:28 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-01 13:03:56 +0100 |
| commit | 14459f80ee3a9e005989db37c26fd13bb6d2fab2 (patch) | |
| tree | eb62429ed696ed3a5389f3a676aecfc6d15a99cc /docs/topics/testing/overview.txt | |
| parent | 6015bab80e28aef2669f6fac53423aa65f70cb08 (diff) | |
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
Diffstat (limited to 'docs/topics/testing/overview.txt')
| -rw-r--r-- | docs/topics/testing/overview.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index a9a539993b..5dbe46ceb2 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -27,6 +27,7 @@ transaction to provide isolation:: from django.test import TestCase from myapp.models import Animal + class AnimalTestCase(TestCase): def setUp(self): Animal.objects.create(name="lion", sound="roar") @@ -364,7 +365,7 @@ many users in your tests, you may want to use a custom settings file and set the :setting:`PASSWORD_HASHERS` setting to a faster hashing algorithm:: PASSWORD_HASHERS = [ - 'django.contrib.auth.hashers.MD5PasswordHasher', + "django.contrib.auth.hashers.MD5PasswordHasher", ] Don't forget to also include in :setting:`PASSWORD_HASHERS` any hashing |
