Skip to content

Commit 82dc0d7

Browse files
committed
Work in progress
Signed-off-by: Ruth-ikegah <ruthikegah@gmail.com>
1 parent ca6c26b commit 82dc0d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

my_site/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# Quick-start development settings - unsuitable for production
2020
# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
2121

22+
# SECURITY WARNING: keep the secret key used in production secret!
23+
SECRET_KEY = 'y4f$wdh5wr)=%yl_fxdeg2w2u^pk(47n^jdv&o$41a1ixpk)5_'
2224

2325
# SECURITY WARNING: don't run with debug turned on in production!
2426
DEBUG = False
@@ -117,6 +119,8 @@
117119
# Static files (CSS, JavaScript, Images)
118120
# https://docs.djangoproject.com/en/3.0/howto/static-files/
119121

122+
STATIC_ROOT = os.path.join(BASE_DIR, '_staticfiles_')
123+
120124
STATIC_URL = '/static/'
121125
STACTICFILES_DIRS =[
122126
os.path.join(BASE_DIR,'static')

0 commit comments

Comments
 (0)