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/releases/2.1.txt | |
| parent | 6015bab80e28aef2669f6fac53423aa65f70cb08 (diff) | |
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
Diffstat (limited to 'docs/releases/2.1.txt')
| -rw-r--r-- | docs/releases/2.1.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 283c65ca30..11b49ea1c1 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -279,8 +279,9 @@ was added in Django 1.6), you might have some passwords that use the You can check if that's the case like this:: from django.contrib.auth import get_user_model + User = get_user_model() - User.objects.filter(password__startswith='bcrypt$$') + User.objects.filter(password__startswith="bcrypt$$") If you want to continue to allow those passwords to be used, you'll have to define the :setting:`PASSWORD_HASHERS` setting (if you don't already) |
