diff --git a/la_chariotte/settings.py b/la_chariotte/settings.py index 5619108..2fe2f07 100644 --- a/la_chariotte/settings.py +++ b/la_chariotte/settings.py @@ -15,6 +15,9 @@ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent +BASE_URL = "http://127.0.0.1:8000" # to be moved to settings/dev.py + +BASE_URL = os.getenv("BASE_URL") # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/ diff --git a/la_chariotte/templates/base.html b/la_chariotte/templates/base.html index cade1f0..6785e1f 100644 --- a/la_chariotte/templates/base.html +++ b/la_chariotte/templates/base.html @@ -3,6 +3,12 @@
+ + + + + +