Created
January 3, 2024 21:46
-
-
Save jkeam/70d44d1d576718953886be943c81ed1c to your computer and use it in GitHub Desktop.
Generate Django Secret Key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python manage.py shell | |
from django.core.management.utils import get_random_secret_key | |
print(get_random_secret_key()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment