diff --git a/backend/config/settings.py b/backend/config/settings.py index 71c95c5..b4b55bf 100644 --- a/backend/config/settings.py +++ b/backend/config/settings.py @@ -12,6 +12,9 @@ from pathlib import Path import os +import dotenv + +dotenv.load_dotenv() # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -85,9 +88,6 @@ # Database # https://docs.djangoproject.com/en/4.2/ref/settings/#databases import pymysql -import dotenv - -dotenv.load_dotenv() pymysql.install_as_MySQLdb() diff --git a/backend/requirements.txt b/backend/requirements.txt index 2858e73..e4e8e37 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -14,8 +14,11 @@ django-prometheus==2.3.1 django-restframework==0.0.1 django-storages==1.13.2 djangorestframework==3.14.0 +drf-spectacular==0.26.3 drf-yasg==1.21.6 exceptiongroup==1.1.2 +Flask==2.3.2 +Flask-SQLAlchemy==3.0.5 gunicorn==20.1.0 h11==0.14.0 idna==3.4 @@ -23,11 +26,15 @@ inflection==0.5.1 itsdangerous==2.1.2 Jinja2==3.1.2 jmespath==1.0.1 +jsonschema==4.18.0 +jsonschema-specifications==2023.6.1 Markdown==3.4.3 MarkupSafe==2.1.3 mysqlclient==2.2.0 +numpy==1.25.0 outcome==1.2.0 packaging==23.1 +pandas==2.0.3 Pillow==10.0.0 prometheus-client==0.17.1 PyMySQL==1.1.0 @@ -36,6 +43,8 @@ python-dateutil==2.8.2 python-dotenv==1.0.0 pytz==2023.3 PyYAML==6.0 +referencing==0.29.1 +rpds-py==0.8.10 s3transfer==0.6.1 selenium==4.10.0 six==1.16.0 @@ -46,6 +55,7 @@ sqlparse==0.4.4 trio==0.22.2 trio-websocket==0.10.3 typing_extensions==4.7.1 +tzdata==2023.3 tzlocal==5.0.1 uritemplate==4.1.1 urllib3==1.26.16