Skip to content

Instantly share code, notes, and snippets.

@dbrgn
Created May 19, 2014 02:03
Show Gist options
  • Select an option

  • Save dbrgn/f49116a0eed5a25fbf79 to your computer and use it in GitHub Desktop.

Select an option

Save dbrgn/f49116a0eed5a25fbf79 to your computer and use it in GitHub Desktop.
Taken from http://techblog.leosoto.com/django-secretkey-generation/
$ python -c 'import random; import string; print "".join([random.SystemRandom().choice(string.digits + string.letters + string.punctuation) for i in range(100)])'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment