From d63adcd1ee66e4f5c83d1d7704aeabf15e8e19fe Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 16 Nov 2020 04:13:20 +0100 Subject: [PATCH] Run test --- lglog/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lglog/settings.py b/lglog/settings.py index 395517c..b1344ed 100644 --- a/lglog/settings.py +++ b/lglog/settings.py @@ -12,7 +12,10 @@ https://docs.djangoproject.com/en/3.1/ref/settings/ from pathlib import Path -from .secrets import OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, SUPERUSERS +try: + from .secrets import OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, SUPERUSERS +except ImportError: + from .secrets_example import OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, SUPERUSERS # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent