polishing

This commit is contained in:
2023-08-08 23:47:23 +03:00
parent b162a6ed10
commit a149ad95d8
10 changed files with 36 additions and 30 deletions
+1 -1
View File
@@ -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