diff options
| author | 2026-07-22 14:51:44 +0200 | |
|---|---|---|
| committer | 2026-07-22 14:51:44 +0200 | |
| commit | 498c79f434856aa68e9a883247ea69a22256fce6 (patch) | |
| tree | 4561647b7f8592f783b4dc07143c60730393b4a1 /conf/local.py | |
| parent | 7784c60c03ec277b456db6e2709383e302d9382b (diff) | |
| download | server-498c79f434856aa68e9a883247ea69a22256fce6.tar.gz server-498c79f434856aa68e9a883247ea69a22256fce6.tar.bz2 server-498c79f434856aa68e9a883247ea69a22256fce6.zip | |
Added auth layer
Diffstat (limited to 'conf/local.py')
| -rw-r--r-- | conf/local.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/local.py b/conf/local.py index 19b304e..23f4005 100644 --- a/conf/local.py +++ b/conf/local.py | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | import os | 1 | import os |
| 2 | 2 | ||
| 3 | IS_LOCAL = True | ||
| 4 | |||
| 3 | os.environ.setdefault('DATABASE_URL', 'postgresql:///ttun') | 5 | os.environ.setdefault('DATABASE_URL', 'postgresql:///ttun') |
| 4 | os.environ.setdefault('SECRET_KEY', 'secret') | 6 | os.environ.setdefault('SECRET_KEY', 'secret') |
| 7 | os.environ.setdefault('ENABLE_AUTH', 'true') | ||
