mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 04:54:02 +03:00
remove $ from allowed chars
django-environ has problems with environment variables that begin with a `$` sign, see https://github.com/joke2k/django-environ/issues/60
This commit is contained in:
parent
5756a61732
commit
bd8d23fac3
|
@ -33,7 +33,7 @@ except NotImplementedError:
|
|||
|
||||
def get_random_string(
|
||||
length=50,
|
||||
allowed_chars='abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)'):
|
||||
allowed_chars='abcdefghijklmnopqrstuvwxyz0123456789!@#%^&*(-_=+)'):
|
||||
"""
|
||||
Returns a securely generated random string.
|
||||
The default length of 12 with the a-z, A-Z, 0-9 character set returns
|
||||
|
|
Loading…
Reference in New Issue
Block a user