From ea7af73c65199a4ec9818562536b5cef9a033b42 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 7 Jan 2024 02:43:15 +0800 Subject: [PATCH] Turn off debug flag --- docker-compose.yml | 2 +- equipment_tracker/config/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a33bfc3..2e520ae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: dockerfile: Dockerfile image: csm_equipment_tracker:latest ports: - - "8000:8000" + - "8092:8000" environment: - PYTHONBUFFERED=1 command: diff --git a/equipment_tracker/config/settings.py b/equipment_tracker/config/settings.py index 0e55c22..c53cc0c 100644 --- a/equipment_tracker/config/settings.py +++ b/equipment_tracker/config/settings.py @@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = str(os.getenv('SECRET_KEY')) # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '*'] CSRF_TRUSTED_ORIGINS = [