Skip to content

Instantly share code, notes, and snippets.

@ozscosta
Forked from sandervm/commandline.txt
Last active August 30, 2018 21:41
Show Gist options
  • Save ozscosta/db981a5ce42987b91bb70e6d8b94bd39 to your computer and use it in GitHub Desktop.
Save ozscosta/db981a5ce42987b91bb70e6d8b94bd39 to your computer and use it in GitHub Desktop.
Generate Django secret key commandline
python -c 'import random; result = "".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)]); print(result)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment