mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-21 16:27:39 -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
|
||||
##########################################################################
|
||||
|
||||
# Debug mode?
|
||||
DEBUG = true
|
||||
|
||||
# Application log level - one of:
|
||||
# CRITICAL 50
|
||||
# ERROR 40
|
||||
@ -41,6 +44,17 @@ LOG_FILE = 'pgadmin4.log'
|
||||
# environment by the runtime
|
||||
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
|
||||
##########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user