mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed typo in django/utils/crypto.py.
This commit is contained in:
parent
e663f695fb
commit
3c35825009
@ -50,7 +50,7 @@ NOT_PROVIDED = object() # RemovedInDjango40Warning.
|
||||
|
||||
|
||||
# RemovedInDjango40Warning: when the deprecation ends, replace with:
|
||||
# def get_random_string(self, length, allowed_chars='...'):
|
||||
# def get_random_string(length, allowed_chars='...'):
|
||||
def get_random_string(length=NOT_PROVIDED, allowed_chars=(
|
||||
'abcdefghijklmnopqrstuvwxyz'
|
||||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
|
||||
|
Loading…
Reference in New Issue
Block a user