mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
More basic setup.
This commit is contained in:
parent
ba939f27d7
commit
a1a6e5356f
0
web/app/__init__.py
Normal file
0
web/app/__init__.py
Normal file
@ -15,6 +15,9 @@ from logging import *
|
|||||||
# Log settings
|
# Log settings
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
|
# Debug mode?
|
||||||
|
DEBUG = true
|
||||||
|
|
||||||
# Application log level - one of:
|
# Application log level - one of:
|
||||||
# CRITICAL 50
|
# CRITICAL 50
|
||||||
# ERROR 40
|
# ERROR 40
|
||||||
@ -41,6 +44,17 @@ LOG_FILE = 'pgadmin4.log'
|
|||||||
# environment by the runtime
|
# environment by the runtime
|
||||||
DEFAULT_SERVER_PORT = 5050
|
DEFAULT_SERVER_PORT = 5050
|
||||||
|
|
||||||
|
# Enable CSRF protection?
|
||||||
|
CSRF_ENABLED = True
|
||||||
|
|
||||||
|
# Secret key for signing CSRF data. Override this in config_local.py if
|
||||||
|
# running on a web server
|
||||||
|
CSRF_SESSION_KEY = 'SuperSecret'
|
||||||
|
|
||||||
|
# Secret key for signing cookies. Override this in config_local.py if
|
||||||
|
# running on a web server
|
||||||
|
SECRET_KEY = 'SuperSecret'
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# Local config settings
|
# Local config settings
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user