diff --git a/bayer/templates/modals/collections/new_package_modal.html b/bayer/templates/modals/collections/new_package_modal.html new file mode 100644 index 00000000..e22b3f77 --- /dev/null +++ b/bayer/templates/modals/collections/new_package_modal.html @@ -0,0 +1,181 @@ +{% load static %} + + + + + + + \ No newline at end of file diff --git a/envipath/settings.py b/envipath/settings.py index 29a7f694..ba3cbf49 100644 --- a/envipath/settings.py +++ b/envipath/settings.py @@ -9,7 +9,7 @@ https://docs.djangoproject.com/en/4.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/4.2/ref/settings/ """ - +import json import os from pathlib import Path @@ -20,7 +20,7 @@ from sklearn.tree import DecisionTreeClassifier # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent -ENV_PATH = os.environ.get("ENV_PATH", BASE_DIR / ".env") +ENV_PATH = os.environ.get("ENV_PATH", BASE_DIR / ".env.dev") print(f"Loading env from {ENV_PATH}") load_dotenv(ENV_PATH, override=False) @@ -442,3 +442,14 @@ BIOTRANSFORMER_ENABLED = os.environ.get("BIOTRANSFORMER_ENABLED", "False") == "T FLAGS["BIOTRANSFORMER"] = BIOTRANSFORMER_ENABLED if BIOTRANSFORMER_ENABLED: BIOTRANSFORMER_URL = os.environ.get("BIOTRANSFORMER_URL", None) + +# PES +PES_API_MAPPING = os.environ.get("PES_API_MAPPING", None) +if PES_API_MAPPING: + import json + PES_API_MAPPING = json.loads(PES_API_MAPPING) +else: + PES_API_MAPPING = {} + +# AD Group Mapping +