mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-22 00:18:48 +00:00
polishing
This commit is contained in:
@@ -8,7 +8,7 @@ tags = ["tutorial", "Django", "Python", ".emv"]
|
||||
|
||||
Managing the Django SECRET_KEY variable.
|
||||
|
||||
<!--more-->
|
||||
<!-- more -->
|
||||
|
||||
The Django `SECRET_KEY` variable is very crucial to your Django application. The secret key must be a large random value and it must be kept secret. Leaking this value to unauthorized people could lead to a security breach. The SECRET_KEY is used in Django for cryptographic signing. It is used to generate tokens and hashes, they can be recreated using this variable. If it is not configured Django throws a `django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty` error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user