Skip to content

Instantly share code, notes, and snippets.

@fchevitarese
Forked from Miserlou/new_key.sh
Created July 30, 2016 00:10
Show Gist options
  • Save fchevitarese/59a332bc095e2bf82253f0941cbd446e to your computer and use it in GitHub Desktop.
Save fchevitarese/59a332bc095e2bf82253f0941cbd446e to your computer and use it in GitHub Desktop.
Generate a new Django SECRET_KEY
python -c 'import random; import string; print "".join([random.SystemRandom().choice(string.digits + string.letters + "!#$%&\()*+,-./:;<=>?@[]^_{|}~" ) for i in range(100)])'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment