Replaces SECRET_KEYs in a Django settings.py with a freshly generated one.
Usage:
python replace_secret.py filename
Note: Avoid using this script on systems that do not have a proper random generator.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Replaces SECRET_KEYs in a Django settings.py with a freshly generated one.
Usage:
python replace_secret.py filename
Note: Avoid using this script on systems that do not have a proper random generator.