Commit 458791cb authored by Cherish Magpayo's avatar Cherish Magpayo

Added env file and modified settings.py to configure project settings

parent 704f8945
SECRET_KEY='youpert'
STATIC_ROOT='<folder path of where static items>'
\ No newline at end of file
......@@ -12,6 +12,10 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
from pathlib import Path
from dotenv import load_dotenv
load_dotenv()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
......@@ -20,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-_1p(uv7&ui6d+a=mp+3b7ue0(%)(^92ru3mjg%diwjmjfwiw^_'
SECRET_KEY = 'youpert'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment