secret key in django environment variable code example
Example: django secret key
$ python manage.py shell -c 'from django.core.management import utils; print(utils.get_random_secret_key())'
$ python manage.py shell -c 'from django.core.management import utils; print(utils.get_random_secret_key())'