diff --git a/.gitignore b/.gitignore index 858a2f11b02af1e55337086b4e4f515fdb5870ba..d976935b748974f43ed01e41c04fac1146f93c9e 100644 --- a/.gitignore +++ b/.gitignore @@ -148,4 +148,5 @@ cython_debug/ # Apps wedding/ -wishlist/ \ No newline at end of file +wishlist/ +/static/core/css/output.css diff --git a/core/settings.py b/core/settings.py index 2d6b7f806e59cc87a7cd7eca60eb3d40c41f6090..bd70adb4a7be64dd6c81503bbd5937b575981746 100644 --- a/core/settings.py +++ b/core/settings.py @@ -21,13 +21,13 @@ BASE_DIR = Path(__file__).resolve().parent.parent # See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = "*wqhm+a(l3dy4v22%l@iv2+!x2k)@%&x1zirod17%7@!_2kq96" # env["SECRET_KEY"] +SECRET_KEY = env["SECRET_KEY"] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = env.get("DEBUG", False) -ALLOWED_HOSTS = env.get("ALLOWED_HOSTS", ["localhost"]) -CSRF_TRUSTED_ORIGINS = env.get("CSRF_TRUSTED_ORIGINS", ["http://localhost"]) +ALLOWED_HOSTS = [env.get("ALLOWED_HOSTS", "localhost")] +CSRF_TRUSTED_ORIGINS = [env.get("CSRF_TRUSTED_ORIGINS", "http://localhost")] # Application definition