Fixed typo in django/utils/crypto.py.

This commit is contained in:
Mariusz Felisiak 2020-03-11 14:38:27 +01:00
parent e663f695fb
commit 3c35825009
1 changed files with 1 additions and 1 deletions

View File

@ -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'