diff options
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 |
