Skip to content

Instantly share code, notes, and snippets.

@mllnd
Created November 11, 2019 11:09
Show Gist options
  • Save mllnd/8a9fbadbaa77cf139fe7facfa0dda4a3 to your computer and use it in GitHub Desktop.
Save mllnd/8a9fbadbaa77cf139fe7facfa0dda4a3 to your computer and use it in GitHub Desktop.
Django Create Secret Key
from django.core.management.utils import get_random_secret_key
get_random_secret_key()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment