Generate Secret for Django AppΒΆ

Start yor python interpreter and execute following script:

import secrets
print(secrets.token_urlsafe(32))

Alternatively you can execute the python script inline:

python -c "import secrets; print(secrets.token_urlsafe(32))"