diff --git a/djangoproject/settings/common.py b/djangoproject/settings/common.py index f36e44411..11b7d5a72 100644 --- a/djangoproject/settings/common.py +++ b/djangoproject/settings/common.py @@ -14,15 +14,8 @@ Path(os.environ[data_dir_key]) if data_dir_key in os.environ else BASE_DIR.parent ) -try: - with DATA_DIR.joinpath("conf", "secrets.json").open() as handle: - SECRETS = json.load(handle) -except OSError: - SECRETS = { - "secret_key": "a", - "superfeedr_creds": ["any@email.com", "some_string"], - } - +with DATA_DIR.joinpath("conf", "secrets.json").open() as handle: + SECRETS = json.load(handle) # Django settings