Latest version
Mar 22, 2018 django install on pycharm (2018). In this video i will show you how to do Django install on Pycharm IDE. You wont need to install Django on your system since we will be. Open a Django shell with python manage.py shell and do the following to create a secure random secret key in Django 2.1: from django.core.management.utils import getrandomsecretkey getrandomsecretkey 'GENERATED KEY' Note: The represents the.
Released:
A Django application with a command to generate a Django secret key
Project description
Simple Django application that adds a new command:
This will generate a new file secretkey.txt containing a random Django secretkey. In your production settings file, replace the hardcoded key by:
You can avoid hardcoding the path of the key by using:
Release historyRelease notifications
Django Generate New Secret Key
1.0.2
1.0.1
1.0.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_generate_secret_key-1.0.2.tar.gz (5.2 kB) | File type Source | Python version None | Upload date | Hashes |
Secret Key Indonesia
CloseHashes for django_generate_secret_key-1.0.2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | e2fe9b57ced82e9a1cad8451299c4dacf097158e60843ef35a6d13683f39f197 |
MD5 | 6b37c1832b0695daee788cea884f5ff3 |
BLAKE2-256 | 60e52b8252e86641978b2d24bd2364acf8857a5891a5743d22c2895ea026c852 |