mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
This commit is contained in:
committed by
Mariusz Felisiak
parent
6015bab80e
commit
14459f80ee
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user