Created
December 17, 2018 13:00
-
-
Save bblanchon/a5614643875d3e2169cd3fef30bf6aeb to your computer and use it in GitHub Desktop.
Django generate random 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
from django.core.management.utils import get_random_secret_key | |
get_random_secret_key() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment