From dd4ac7d50d3ac49cfb33ccb1e11538898c473c8a Mon Sep 17 00:00:00 2001 From: Bashar Zheiman Date: Wed, 3 Apr 2024 19:47:53 +0000 Subject: [PATCH] Hide Secret Key --- .gitpod.yml | 10 ++++++++++ restaurant_booking_system/settings.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..b1c4d2b --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,10 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: pip install -r requirements.txt + + diff --git a/restaurant_booking_system/settings.py b/restaurant_booking_system/settings.py index 7fa547a..64ffc53 100644 --- a/restaurant_booking_system/settings.py +++ b/restaurant_booking_system/settings.py @@ -27,7 +27,7 @@ # See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'django-insecure-lo_ku^_ng8lfke_0w$$nf4l3mr$$whtp#@+8$-y!jvuc&r-0ii' +SECRET_KEY = 'r8$&i+tiywn6*#bm26*wz47sj538g)5-3^f=est%lig5v^0qbn' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False