(WIP)made env to frontend for live deployment... working on making a quiz on frontend.

This commit is contained in:
Jordan Yamada
2024-05-19 15:32:09 +00:00
parent e72caab854
commit 520a923b2b
15 changed files with 156 additions and 79 deletions

View File

@@ -9,14 +9,16 @@ https://docs.djangoproject.com/en/5.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/5.0/ref/settings/
"""
import os
from pathlib import Path
from dotenv import load_dotenv
import os
# Load environment variables from .env file
load_dotenv()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent