Run test
This commit is contained in:
parent
60d50a6c07
commit
d63adcd1ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue