-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.toml
47 lines (45 loc) · 1.65 KB
/
settings.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[default]
APP_NAME = "App Arso"
CSRF_ENABLED = true
CSRF_SESSION_TIMEOUT = 86400 # 60 * 60 * 24
PERMANENT_SESSION_LIFETIME = 86400 # 60 * 60 * 24
EXTENSIONS = [
"coruja.extensions.securancy:init_app",
"coruja.extensions.database:init_app",
"coruja.extensions.auth:init_app",
"coruja.extensions.sessions:init_app",
"coruja.restapi:init_apis",
"coruja.middlewares:init_middlewares",
"coruja.extensions.commands:init_app",
"coruja.extensions.jinja:init_app",
]
[development]
SECRET_KEY = "secret_key"
SESSION_TYPE = "filesystem"
SESSION_PERMANENT = false
SQLALCHEMY_TRACK_MODIFICATIONS = false
SQLALCHEMY_DATABASE_URI = "sqlite:///development.db"
DEBUG = true
TEMPLATES_AUTO_RELOAD = true
DEBUG_TOOLBAR_ENABLED = true
DEBUG_TB_INTERCEPT_REDIRECTS = false
DEBUG_TB_PROFILER_ENABLED = true
DEBUG_TB_TEMPLATE_EDITOR_ENABLED = true
DEBUG_TB_PANELS = [
"flask_debugtoolbar.panels.versions.VersionDebugPanel",
"flask_debugtoolbar.panels.sqlalchemy.SQLAlchemyDebugPanel",
"flask_debugtoolbar.panels.timer.TimerDebugPanel",
"flask_debugtoolbar.panels.headers.HeaderDebugPanel",
"flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel",
"flask_debugtoolbar.panels.template.TemplateDebugPanel",
"flask_debugtoolbar.panels.route_list.RouteListDebugPanel",
"flask_debugtoolbar.panels.logger.LoggingPanel",
"flask_debugtoolbar.panels.profiler.ProfilerDebugPanel",
"flask_debugtoolbar.panels.config_vars.ConfigVarsDebugPanel",
]
[production]
SQLALCHEMY_TRACK_MODIFICATIONS = false
TEMPLATES_AUTO_RELOAD = true
SESSION_TYPE = "filesystem"
SESSION_PERMANENT = false
DEBUG = false