bkkjgw
Last Updated: February 25, 2016
·
2.648K
· pykler

Oneliner to generate a Django Secret Key

python -c "import string,random; uni=string.ascii_letters+string.digits+string.punctuation; print repr(''.join([random.SystemRandom().choice(uni) for i in range(random.randint(45,50))]))"