diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-11 14:38:27 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-11 14:38:27 +0100 |
| commit | 3c35825009540e222311d591c7330fa17dd76c99 (patch) | |
| tree | c087204bcf99eba57b31e26537d48bebdae07c88 | |
| parent | e663f695fb282053b31f69ee2dcbc67ddacb9104 (diff) | |
Fixed typo in django/utils/crypto.py.
| -rw-r--r-- | django/utils/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/crypto.py b/django/utils/crypto.py index 8d25d96c0d..db19db91d3 100644 --- a/django/utils/crypto.py +++ b/django/utils/crypto.py @@ -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' |
