We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7f5a5 commit a4c89c6Copy full SHA for a4c89c6
.gitignore
@@ -0,0 +1,6 @@
1
+django-env/
2
+.env
3
+
4
+#database file
5
6
+*.sqllite3
myFirstDjangoProject/settings.py
@@ -12,6 +12,7 @@
12
13
from pathlib import Path
14
import os
15
+from decouple import config
16
17
# Build paths inside the project like this: BASE_DIR / 'subdir'.
18
BASE_DIR = Path(__file__).resolve().parent.parent
@@ -21,6 +22,7 @@
21
22
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
23
24
# SECURITY WARNING: keep the secret key used in production secret!
25
+SECRET_KEY = config('SECRET_KEY')
26
SECRET_KEY = 'django-insecure-nx=a-t0d%tf4*mrws4hq_o1=9e&ko$#pntt3)6bva=lfim7vm5'
27
28
# SECURITY WARNING: don't run with debug turned on in production!
0 commit comments