From d70deaf1ac6eeb6fa6d682a26da7a95a8cfa8f02 Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 31 Aug 2016 19:48:37 +0800 Subject: [PATCH] Modify config-example --- config-example.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config-example.py b/config-example.py index abb6788db..874e36f09 100644 --- a/config-example.py +++ b/config-example.py @@ -17,12 +17,20 @@ class Config: DISPLAY_PER_PAGE = 20 ALLOWED_HOSTS = ['*'] DEBUG = False + LOG_LEVEL = 'DEBUG' DATABASE_ENGINE = 'sqlite3' HTTP_LISTEN_HOST = '127.0.0.1' HTTP_LISTEN_PORT = 8000 REDIS_HOST = '127.0.0.1' REDIS_PORT = 6379 REDIS_PASSWORD = '' + EMAIL_HOST = '' + EMAIL_PORT = 25 + EMAIL_HOST_USER = '' + EMAIL_HOST_PASSWORD = '' + EMAIL_USE_SSL = False # If port is 465, set True + EMAIL_USE_TLS = False # If port is 587, set True + EMAIL_SUBJECT_PREFIX = '[Jumpserver] ' def __init__(self): pass