Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate new secret key django

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# generate_secret.py
from django.core.management import utils


print(utils.get_random_secret_key())
Source by tech.serhatteker.com #
 
PREVIOUS NEXT
Tagged: #generate #secret #key #django
ADD COMMENT
Topic
Name
1+9 =