Skip to content

Instantly share code, notes, and snippets.

@edgabaldi
Created May 29, 2018 23:50
Show Gist options
  • Save edgabaldi/fb4185d2e42abac7a556a7f794c9cc0b to your computer and use it in GitHub Desktop.
Save edgabaldi/fb4185d2e42abac7a556a7f794c9cc0b to your computer and use it in GitHub Desktop.
from django.utils.crypto import get_random_string
hash_key = get_random_string(length=8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment