Created
August 3, 2015 16:36
-
-
Save avorio/ed04e30a5604599e8de2 to your computer and use it in GitHub Desktop.
Generate Django SECRET_KEY
This file contains 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
import random, string; | |
''.join([random.SystemRandom().choice("{}{}{}".format(string.ascii_letters, string.digits, string.punctuation)) for i in range(50)]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment