mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Fixed typo in django/utils/crypto.py.
This commit is contained in:
parent
e663f695fb
commit
3c35825009
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue