From b375e72704bb5811e6c4b33184ece02973a145bd Mon Sep 17 00:00:00 2001 From: Amir Date: Thu, 19 Sep 2024 20:18:04 +0200 Subject: [PATCH] quick update --- contact/__pycache__/models.cpython-310.pyc | Bin 1689 -> 1689 bytes saburly/settings/production.py | 4 ++- templates/footer.html | 22 ---------------- templates/header.html | 4 +-- templates/side_menu.html | 28 ++------------------- 5 files changed, 7 insertions(+), 51 deletions(-) diff --git a/contact/__pycache__/models.cpython-310.pyc b/contact/__pycache__/models.cpython-310.pyc index e174c842f6cdcdb1b36b5b4efbc509c227b8ee10..ef64d02628799ca189a3eb57d58e02e69f65768e 100644 GIT binary patch delta 20 acmbQqJCm0?pO=@50SFv2-fZOVV*>y#c?8b@ delta 20 acmbQqJCm0?pO=@50SNBjdbp9hj|~7dM+MaY diff --git a/saburly/settings/production.py b/saburly/settings/production.py index 2b408941..cec85ba0 100644 --- a/saburly/settings/production.py +++ b/saburly/settings/production.py @@ -7,7 +7,7 @@ load_dotenv() DEBUG = False -ALLOWED_HOSTS = ['18.196.202.28'] +ALLOWED_HOSTS = ['18.196.202.28','www.saburly.com','saburly.com'] SECRET_KEY = os.getenv('SECRET_KEY') @@ -29,6 +29,8 @@ MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') + +SECURE_SSL_REDIRECT = True SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True SECURE_HSTS_SECONDS = 31536000 diff --git a/templates/footer.html b/templates/footer.html index 524fb1ca..8d528b65 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -20,28 +20,6 @@
Saburly Logo -
diff --git a/templates/header.html b/templates/header.html index 990e2ca8..21216e75 100644 --- a/templates/header.html +++ b/templates/header.html @@ -34,9 +34,9 @@
  • - + - 720-643-2025 + +387 61 821 801
  • diff --git a/templates/side_menu.html b/templates/side_menu.html index 24877c07..d7b6d113 100644 --- a/templates/side_menu.html +++ b/templates/side_menu.html @@ -23,35 +23,11 @@ Request a quote - +
  • - 720-643-2025 + +387 61 821 801
  • -
    \ No newline at end of file