1
0
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:
Mariusz Felisiak 2020-03-11 14:38:27 +01:00
parent e663f695fb
commit 3c35825009

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'